openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
Subject StoreCache/DataCache is not null even when DataCache is configured to be inactive
Date Wed, 21 May 2008 22:08:51 GMT

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

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

but succeeds the following:

3:  assertNull(((StoreCacheImpl)emf.getStoreCache()).getDelegate());

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

View this message in context:
Sent from the OpenJPA Developers mailing list archive at

View raw message