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
346da69979
commit
9cec39c316
|
@ -82,7 +82,7 @@ public abstract class AbstractCollectionInitializer implements CollectionInitial
|
|||
if ( CollectionLoadingLogger.DEBUG_ENABLED ) {
|
||||
CollectionLoadingLogger.COLL_LOAD_LOGGER.debugf(
|
||||
"(%s) Current row collection key : %s",
|
||||
DelayedCollectionInitializer.class.getSimpleName(),
|
||||
this.getClass().getSimpleName(),
|
||||
LoggingHelper.toLoggableString( getNavigablePath(), this.collectionKey.getKey() )
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue