mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
HHH-15602 Fix small typo
This commit is contained in:
parent
4203d0d08a
commit
aa4f68f89b
@ -544,7 +544,7 @@ static void enter(@Advice.This Object self, @FieldValue Collection<?> field, @Ad
|
||||
// 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…
x
Reference in New Issue
Block a user