HHH-14129 Bidirectional relationship with @NotNull fails to save

This commit is contained in:
Andrea Boriero 2020-08-03 10:20:49 +01:00 committed by Sanne Grinovero
parent 358f713700
commit a229590345
1 changed files with 1 additions and 0 deletions

View File

@ -350,6 +350,7 @@ class TypeSafeActivator {
}
hasNotNull = true;
}
property.setOptional( !hasNotNull );
return hasNotNull;
}