The following configuration 

    <property name="openjpa.DataCache" value="false"/>

is expected to configure the environment without a DataCache/StoreCache. Is
that right expectation?

However, OpenJPAEntityManagerFactory configured as above fails following
assertions: 

1:  assertNull(emf.getStoreCache());
2:  assertNull(emf.getConfiguration().getDataCacheManagerInstance());

but succeeds the following:

3:  assertNull(((StoreCacheImpl)emf.getStoreCache()).getDelegate());
4. 
assertNull(emf.getConfiguration().getDataCacheManagerInstance().getSystemDataCache());


Anyone to shed light why StoreCache or DataCacheManager is instantiated even
when DataCache is set to be false?

-- 
View this message in context: 
http://www.nabble.com/StoreCache-DataCache-is-not-null-even-when-DataCache-is-configured-to-be-inactive-tp17380291p17380291.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Reply via email to