HHH-13416 Unguarded debug message being rendered in org.hibernate.engine.internal.Collections.processReachableCollection
This commit is contained in:
parent
b7b8f44298
commit
4be05af86d
|
@ -167,10 +167,12 @@ public final class Collections {
|
|||
final boolean isBytecodeEnhanced = persister.getOwnerEntityPersister().getInstrumentationMetadata().isEnhancedForLazyLoading();
|
||||
if ( isBytecodeEnhanced && !collection.wasInitialized() ) {
|
||||
// skip it
|
||||
if ( LOG.isDebugEnabled() ) {
|
||||
LOG.debugf(
|
||||
"Skipping uninitialized bytecode-lazy collection: %s",
|
||||
MessageHelper.collectionInfoString( persister, collection, ce.getCurrentKey(), session )
|
||||
MessageHelper.collectionInfoString(persister, collection, ce.getCurrentKey(), session)
|
||||
);
|
||||
}
|
||||
ce.setReached( true );
|
||||
ce.setProcessed( true );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue