HHH-16234 Log identity hash code instead to calling instance.toString()
when resolving entity instance
This commit is contained in:
parent
8881c7fa13
commit
204278164d
|
@ -675,8 +675,8 @@ public abstract class AbstractEntityInitializer extends AbstractFetchParentAcces
|
||||||
EntityLoadingLogging.ENTITY_LOADING_LOGGER.debugf(
|
EntityLoadingLogging.ENTITY_LOADING_LOGGER.debugf(
|
||||||
"(%s) Created new entity instance [%s] : %s",
|
"(%s) Created new entity instance [%s] : %s",
|
||||||
getSimpleConcreteImplName(),
|
getSimpleConcreteImplName(),
|
||||||
toLoggableString( getNavigablePath(), entityIdentifier),
|
toLoggableString( getNavigablePath(), entityIdentifier ),
|
||||||
instance
|
System.identityHashCode( instance )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return instance;
|
return instance;
|
||||||
|
|
|
@ -99,6 +99,9 @@ logger.java-type-descriptor-registry.level=debug
|
||||||
logger.bytecode-enhancement.name=org.hibernate.bytecode.enhance
|
logger.bytecode-enhancement.name=org.hibernate.bytecode.enhance
|
||||||
logger.bytecode-enhancement.level=debug
|
logger.bytecode-enhancement.level=debug
|
||||||
|
|
||||||
|
logger.results-loading-entity.name=org.hibernate.orm.results.loading.entity
|
||||||
|
#logger.results-loading-entity.level=debug
|
||||||
|
|
||||||
logger.entity-action.name=org.hibernate.action.internal.EntityAction
|
logger.entity-action.name=org.hibernate.action.internal.EntityAction
|
||||||
#logger.entity-action.level=debug
|
#logger.entity-action.level=debug
|
||||||
logger.cascade.name=org.hibernate.engine.internal.Cascade
|
logger.cascade.name=org.hibernate.engine.internal.Cascade
|
||||||
|
|
Loading…
Reference in New Issue