HHH-12631 Fix invalid tracev calls in DefaultResolveNaturalIdEventListener
This commit is contained in:
parent
b96af61566
commit
9a3aa99e83
|
@ -57,8 +57,9 @@ public class DefaultResolveNaturalIdEventListener
|
|||
final boolean traceEnabled = LOG.isTraceEnabled();
|
||||
if ( traceEnabled ) {
|
||||
LOG.tracev(
|
||||
"Attempting to resolve: {0}",
|
||||
MessageHelper.infoString( persister, event.getNaturalIdValues(), event.getSession().getFactory() )
|
||||
"Attempting to resolve: {0}#{1}",
|
||||
MessageHelper.infoString( persister ),
|
||||
event.getNaturalIdValues()
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -66,8 +67,9 @@ public class DefaultResolveNaturalIdEventListener
|
|||
if ( entityId != null ) {
|
||||
if ( traceEnabled ) {
|
||||
LOG.tracev(
|
||||
"Resolved object in cache: {0}",
|
||||
MessageHelper.infoString( persister, event.getNaturalIdValues(), event.getSession().getFactory() )
|
||||
"Resolved object in cache: {0}#{1}",
|
||||
MessageHelper.infoString( persister ),
|
||||
event.getNaturalIdValues()
|
||||
);
|
||||
}
|
||||
return entityId;
|
||||
|
@ -75,8 +77,9 @@ public class DefaultResolveNaturalIdEventListener
|
|||
|
||||
if ( traceEnabled ) {
|
||||
LOG.tracev(
|
||||
"Object not resolved in any cache: {0}",
|
||||
MessageHelper.infoString( persister, event.getNaturalIdValues(), event.getSession().getFactory() )
|
||||
"Object not resolved in any cache: {0}#{1}",
|
||||
MessageHelper.infoString( persister ),
|
||||
event.getNaturalIdValues()
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue