Upgraded to use a non-deprecated factory constructor
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15333 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
3a083fc12a
commit
7f58da9351
|
@ -190,7 +190,7 @@ public class SharedCacheInstanceManager implements CacheInstanceManager {
|
|||
protected Cache createSharedCache(Settings settings, Properties properties)
|
||||
{
|
||||
String configResource = PropertiesHelper.getString(CACHE_RESOURCE_PROP, properties, DEFAULT_CACHE_RESOURCE);
|
||||
return DefaultCacheFactory.getInstance().createCache(configResource, false);
|
||||
return new DefaultCacheFactory().createCache(configResource, false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue