diff --git a/hibernate-entitymanager/src/main/java/org/hibernate/ejb/AbstractEntityManagerImpl.java b/hibernate-entitymanager/src/main/java/org/hibernate/ejb/AbstractEntityManagerImpl.java index 4be3b203f9..0d5fb2494f 100755 --- a/hibernate-entitymanager/src/main/java/org/hibernate/ejb/AbstractEntityManagerImpl.java +++ b/hibernate-entitymanager/src/main/java/org/hibernate/ejb/AbstractEntityManagerImpl.java @@ -221,7 +221,7 @@ public abstract class AbstractEntityManagerImpl implements HibernateEntityManage } private CacheStoreMode determineCacheStoreMode(Map settings) { - return ( CacheStoreMode ) properties.get( AvailableSettings.SHARED_CACHE_STORE_MODE ); + return ( CacheStoreMode ) settings.get( AvailableSettings.SHARED_CACHE_STORE_MODE ); } private void setLockOptions(Map props, LockOptions options) {