HHH-12627 Fix a debug level message

This commit is contained in:
Guillaume Smet 2018-05-25 10:51:36 +02:00 committed by Sanne Grinovero
parent eee04e2e9a
commit 7c1a737c2a
1 changed files with 1 additions and 1 deletions
hibernate-core/src/main/java/org/hibernate/cache/spi/support

View File

@ -64,7 +64,7 @@ public abstract class AbstractReadWriteAccess extends AbstractCachedDomainDataAc
*/ */
@Override @Override
public Object get(SharedSessionContractImplementor session, Object key) { public Object get(SharedSessionContractImplementor session, Object key) {
log.debugf( "Getting cached data from region [`%s` (%s)] by key [%s]", getRegion().getName(), key ); log.debugf( "Getting cached data from region [`%s` (%s)] by key [%s]", getRegion().getName(), getAccessType(), key );
try { try {
readLock.lock(); readLock.lock();
Lockable item = (Lockable) getStorageAccess().getFromCache( key, session ); Lockable item = (Lockable) getStorageAccess().getFromCache( key, session );