HHH-13452 Missing log level guard on formatting in DefaultPersistEventListener#entityIsDeleted
This commit is contained in:
parent
deb06eaa0b
commit
007ab2f479
|
@ -200,6 +200,7 @@ public class DefaultPersistEventListener
|
|||
final Object entity = source.getPersistenceContext().unproxy( event.getObject() );
|
||||
final EntityPersister persister = source.getEntityPersister( event.getEntityName(), entity );
|
||||
|
||||
if ( LOG.isTraceEnabled() ) {
|
||||
LOG.tracef(
|
||||
"un-scheduling entity deletion [%s]",
|
||||
MessageHelper.infoString(
|
||||
|
@ -208,6 +209,7 @@ public class DefaultPersistEventListener
|
|||
source.getFactory()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
if ( createCache.put( entity, entity ) == null ) {
|
||||
justCascade( createCache, source, entity, persister );
|
||||
|
|
Loading…
Reference in New Issue