Our project has the following construct in use in various places:
If bytecode enhancement is enabled, orphanRemoval does not work. If in this case caringWorkorder had an associated entity and it is set to null, Hibernate does not delete the entry from the table associated with AdditionalCaring. This problem occurs both with unidirectional and bidirectional 1:1 associations. It would be helpful to know - for the time being - if there’s a workaround for this problem. |