Fix logging in AbstractCollectionInitializer
The previous version of the code lead to misleading log statements being printed when debug logging was enabled for 'org.hibernate.orm.results.loading.collection'
This commit is contained in:
parent
20212c217c
commit
d922b60a74
|
@ -82,7 +82,7 @@ public abstract class AbstractCollectionInitializer implements CollectionInitial
|
||||||
if ( CollectionLoadingLogger.DEBUG_ENABLED ) {
|
if ( CollectionLoadingLogger.DEBUG_ENABLED ) {
|
||||||
CollectionLoadingLogger.COLL_LOAD_LOGGER.debugf(
|
CollectionLoadingLogger.COLL_LOAD_LOGGER.debugf(
|
||||||
"(%s) Current row collection key : %s",
|
"(%s) Current row collection key : %s",
|
||||||
DelayedCollectionInitializer.class.getSimpleName(),
|
this.getClass().getSimpleName(),
|
||||||
LoggingHelper.toLoggableString( getNavigablePath(), this.collectionKey.getKey() )
|
LoggingHelper.toLoggableString( getNavigablePath(), this.collectionKey.getKey() )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue