Hello,
I have a problem with a bidirectional relationship with cascade "all-delete-orphan".
I need to execute a "refresh" to calculate some properties of type "formula" after updating the object.
The problem is that if I add a new element in the collection, after do the refresh Hibernate throws an error "assertion failure" because Hibernate tries to refresh the added object although it is not persistent.
My problem is exactly described in:
https://hibernate.atlassian.net/browse/HHH-5133But I do not arrive to any see any solution.
Any ideas / alternatives would be really appreciated.