mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-18 00:55:16 +00:00
Fix User Guide tests failing and triggereing other 2nd-level cache tests to fail as well
This commit is contained in:
parent
814d0c260b
commit
b0c27562f4
@ -58,7 +58,7 @@ protected void addConfigOptions(Map options) {
|
||||
options.put( AvailableSettings.CACHE_REGION_FACTORY, EhCacheRegionFactory.class.getName() );
|
||||
options.put( AvailableSettings.USE_QUERY_CACHE, Boolean.TRUE.toString() );
|
||||
options.put( AvailableSettings.GENERATE_STATISTICS, Boolean.TRUE.toString() );
|
||||
options.put( AvailableSettings.CACHE_REGION_PREFIX, "" );
|
||||
//options.put( AvailableSettings.CACHE_REGION_PREFIX, "" );
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -386,7 +386,7 @@ public void sessionFactoryClosed(SessionFactory factory) {
|
||||
integrator.disintegrate( this, serviceRegistry );
|
||||
integratorObserver.integrators.remove( integrator );
|
||||
}
|
||||
serviceRegistry.destroy();
|
||||
close();
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user