Revision f4142aa7
Added by Cherian Mathew almost 9 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/store/CdmStore.java | ||
---|---|---|
153 | 153 |
final DbSchemaValidation dbSchemaValidation, |
154 | 154 |
final Resource applicationContextBean) { |
155 | 155 |
if(isActive()) { |
156 |
// before we connect we clear the caches and the sessions |
|
157 |
CdmRemoteCacheManager.getInstance().getDefaultCacheManager().removalAll();
|
|
156 |
// before we connect we clear the entity caches and the sessions
|
|
157 |
CdmRemoteCacheManager.removeEntityCaches();
|
|
158 | 158 |
if(getCurrentSessionManager() != null) { |
159 | 159 |
getCurrentSessionManager().disposeAll(); |
160 | 160 |
} |
Also available in: Unified diff
cdmlib-ehcache : removed disk based cache manager since the hb config is now cached in memory
CdmApplicationRemoteController, CdmModelCacher, CdmRemoteCacheManager, CdmModelGetMethodCacherTest : running the hibernate config load in separate thread
CdmTransientEntityCacher, EntityCacherDebugResult, CdmStore, SessionsViewPart: refactoring
httpInvokerServiceClients.xml : removed lazy loading of beans