Page 1 of 1

About Question enthuware.oce-jpad.v6.2.450 :

Posted: Thu Jan 05, 2012 9:11 am
by Durgesh
Consider the following entity class hierarchy:

@Entity
@Cacheable(true)
public class Account{ ... }

@Entity
@Cacheable(false)
public class CheckingAccount extends Account{ ... }

@Entity
public class SavingsAccount extends Account{ ... }

Given that the persistence provider supports caching, what should be the value of shared-cache-mode so that all Account and SavingsAccount entities are cached but CheckingAccount entities are not cached?

I think DISABLE_SELECTIVE and ENABLE_SELECTIVE both will work for this senario.

Re: About Question enthuware.oce-jpad.v6.2.450 :

Posted: Fri Jan 06, 2012 10:57 am
by admin
You are right. This has now been fixed.

Thank you for your feedback!