HHH-11083 Fix compilation failures in hibernate-jcache
This commit is contained in:
parent
30974c1cd4
commit
45a65daf02
|
@ -28,12 +28,12 @@ public class NonStrictCollectionRegionAccessStrategy
|
|||
|
||||
@Override
|
||||
public Object generateCacheKey(Object id, CollectionPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) {
|
||||
return DefaultCacheKeysFactory.createCollectionKey( id, persister, factory, tenantIdentifier );
|
||||
return DefaultCacheKeysFactory.staticCreateCollectionKey( id, persister, factory, tenantIdentifier );
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getCacheKeyId(Object cacheKey) {
|
||||
return DefaultCacheKeysFactory.getCollectionId( cacheKey );
|
||||
return DefaultCacheKeysFactory.staticGetCollectionId( cacheKey );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -53,12 +53,12 @@ public class NonStrictEntityRegionAccessStrategy extends JCacheRegionAccessStrat
|
|||
|
||||
@Override
|
||||
public Object generateCacheKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) {
|
||||
return DefaultCacheKeysFactory.createEntityKey( id, persister, factory, tenantIdentifier );
|
||||
return DefaultCacheKeysFactory.staticCreateEntityKey( id, persister, factory, tenantIdentifier );
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getCacheKeyId(Object cacheKey) {
|
||||
return DefaultCacheKeysFactory.getEntityId( cacheKey );
|
||||
return DefaultCacheKeysFactory.staticGetEntityId( cacheKey );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -50,11 +50,11 @@ public class NonStrictNaturalIdRegionAccessStrategy
|
|||
|
||||
@Override
|
||||
public Object generateCacheKey(Object[] naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) {
|
||||
return DefaultCacheKeysFactory.createNaturalIdKey( naturalIdValues, persister, session );
|
||||
return DefaultCacheKeysFactory.staticCreateNaturalIdKey( naturalIdValues, persister, session );
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object[] getNaturalIdValues(Object cacheKey) {
|
||||
return DefaultCacheKeysFactory.getNaturalIdValues( cacheKey );
|
||||
return DefaultCacheKeysFactory.staticGetNaturalIdValues( cacheKey );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,11 +26,11 @@ public class ReadOnlyCollectionRegionAccessStrategy
|
|||
|
||||
@Override
|
||||
public Object generateCacheKey(Object id, CollectionPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) {
|
||||
return DefaultCacheKeysFactory.createCollectionKey( id, persister, factory, tenantIdentifier );
|
||||
return DefaultCacheKeysFactory.staticCreateCollectionKey( id, persister, factory, tenantIdentifier );
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getCacheKeyId(Object cacheKey) {
|
||||
return DefaultCacheKeysFactory.getCollectionId( cacheKey );
|
||||
return DefaultCacheKeysFactory.staticGetCollectionId( cacheKey );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,11 +50,11 @@ public class ReadOnlyEntityRegionAccessStrategy extends JCacheRegionAccessStrate
|
|||
|
||||
@Override
|
||||
public Object generateCacheKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) {
|
||||
return DefaultCacheKeysFactory.createEntityKey( id, persister, factory, tenantIdentifier );
|
||||
return DefaultCacheKeysFactory.staticCreateEntityKey( id, persister, factory, tenantIdentifier );
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getCacheKeyId(Object cacheKey) {
|
||||
return DefaultCacheKeysFactory.getEntityId( cacheKey );
|
||||
return DefaultCacheKeysFactory.staticGetEntityId( cacheKey );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,11 +49,11 @@ public class ReadOnlyNaturalIdRegionAccessStrategy
|
|||
|
||||
@Override
|
||||
public Object generateCacheKey(Object[] naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) {
|
||||
return DefaultCacheKeysFactory.createNaturalIdKey( naturalIdValues, persister, session );
|
||||
return DefaultCacheKeysFactory.staticCreateNaturalIdKey( naturalIdValues, persister, session );
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object[] getNaturalIdValues(Object cacheKey) {
|
||||
return DefaultCacheKeysFactory.getNaturalIdValues( cacheKey );
|
||||
return DefaultCacheKeysFactory.staticGetNaturalIdValues( cacheKey );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,12 +26,12 @@ public class ReadWriteCollectionRegionAccessStrategy
|
|||
|
||||
@Override
|
||||
public Object generateCacheKey(Object id, CollectionPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) {
|
||||
return DefaultCacheKeysFactory.createCollectionKey( id, persister, factory, tenantIdentifier );
|
||||
return DefaultCacheKeysFactory.staticCreateCollectionKey( id, persister, factory, tenantIdentifier );
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getCacheKeyId(Object cacheKey) {
|
||||
return DefaultCacheKeysFactory.getCollectionId( cacheKey );
|
||||
return DefaultCacheKeysFactory.staticGetCollectionId( cacheKey );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -72,11 +72,11 @@ public class ReadWriteEntityRegionAccessStrategy
|
|||
|
||||
@Override
|
||||
public Object generateCacheKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) {
|
||||
return DefaultCacheKeysFactory.createEntityKey( id, persister, factory, tenantIdentifier );
|
||||
return DefaultCacheKeysFactory.staticCreateEntityKey( id, persister, factory, tenantIdentifier );
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getCacheKeyId(Object cacheKey) {
|
||||
return DefaultCacheKeysFactory.getEntityId( cacheKey );
|
||||
return DefaultCacheKeysFactory.staticGetEntityId( cacheKey );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -71,11 +71,11 @@ public class ReadWriteNaturalIdRegionAccessStrategy
|
|||
|
||||
@Override
|
||||
public Object generateCacheKey(Object[] naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) {
|
||||
return DefaultCacheKeysFactory.createNaturalIdKey( naturalIdValues, persister, session );
|
||||
return DefaultCacheKeysFactory.staticCreateNaturalIdKey( naturalIdValues, persister, session );
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object[] getNaturalIdValues(Object cacheKey) {
|
||||
return DefaultCacheKeysFactory.getNaturalIdValues( cacheKey );
|
||||
return DefaultCacheKeysFactory.staticGetNaturalIdValues( cacheKey );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue