HHH-9663 - Fix orphan removal cascade for one-to-one mappings.
This commit is contained in:
parent
63e6793d8f
commit
0677bb365f
|
@ -115,15 +115,6 @@ public final class Cascade {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Nothing to do, so just skip cascading to this lazy (non-collection) attribute.
|
// Nothing to do, so just skip cascading to this lazy (non-collection) attribute.
|
||||||
if ( action.requiresNoCascadeChecking() ) {
|
|
||||||
action.noCascade(
|
|
||||||
eventSource,
|
|
||||||
parent,
|
|
||||||
persister,
|
|
||||||
types[ i ],
|
|
||||||
i
|
|
||||||
);
|
|
||||||
}
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue