mirror of https://github.com/apache/openjpa.git
Change OpenJPAEntityManagerFactory.getStoreCache(String) to create the cache on-demand if it doesn't exist. This turns an error condition into functional behavior, so there should be no backward-compat issue.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644635 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dd7014a527
commit
690cb80eb9
|
@ -125,7 +125,7 @@ public class EntityManagerFactoryImpl
|
|||
|
||||
public StoreCache getStoreCache(String cacheName) {
|
||||
return new StoreCacheImpl(this, _factory.getConfiguration().
|
||||
getDataCacheManagerInstance().getDataCache(cacheName));
|
||||
getDataCacheManagerInstance().getDataCache(cacheName, true));
|
||||
}
|
||||
|
||||
public QueryResultCache getQueryResultCache() {
|
||||
|
|
Loading…
Reference in New Issue