HHH-15602 Fix small typo
This commit is contained in:
parent
fc069afed7
commit
48b34b004a
|
@ -544,7 +544,7 @@ class CodeTemplates {
|
|||
// If this is the inverse side or the old collection is already initialized,
|
||||
// we must remove self from the respective old collection elements inverse collections,
|
||||
// because only the owning side is responsible for persisting the state.
|
||||
if ( ( inverseSide || Hibernate.isInitialized( argument ) ) && getterSelf() != null ) {
|
||||
if ( ( inverseSide || Hibernate.isInitialized( field ) ) && getterSelf() != null ) {
|
||||
Object[] array = field.toArray();
|
||||
for ( int i = 0; i < array.length; i++ ) {
|
||||
if ( ( inverseSide || Hibernate.isPropertyInitialized( array[i], bidirectionalAttribute ) )
|
||||
|
|
Loading…
Reference in New Issue