HHH-12631 Fix invalid tracev calls in DefaultResolveNaturalIdEventListener
This commit is contained in:
parent
152a8b30db
commit
f4483e3576
|
@ -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