fix typo in variable name

This commit is contained in:
Gavin King 2024-12-17 22:32:04 +01:00
parent 0cb6679f6e
commit b5f0d1a55d

View File

@ -846,16 +846,16 @@ private void fireMerge(final MergeContext mergeContext, final MergeEvent event)
public void delete(String entityName, Object object, boolean isCascadeDeleteEnabled, DeleteContext transientEntities)
throws HibernateException {
checkOpenOrWaitingForAutoClose();
final boolean removingOrphanBeforeUpates = persistenceContext.isRemovingOrphanBeforeUpates();
final boolean removingOrphanBeforeUpdates = persistenceContext.isRemovingOrphanBeforeUpates();
final boolean traceEnabled = log.isTraceEnabled();
if ( traceEnabled && removingOrphanBeforeUpates ) {
if ( traceEnabled && removingOrphanBeforeUpdates ) {
logRemoveOrphanBeforeUpdates( "before continuing", entityName, object );
}
fireDelete(
new DeleteEvent( entityName, object, isCascadeDeleteEnabled, removingOrphanBeforeUpates, this ),
new DeleteEvent( entityName, object, isCascadeDeleteEnabled, removingOrphanBeforeUpdates, this ),
transientEntities
);
if ( traceEnabled && removingOrphanBeforeUpates ) {
if ( traceEnabled && removingOrphanBeforeUpdates ) {
logRemoveOrphanBeforeUpdates( "after continuing", entityName, object );
}
}