| The case is already described in https://hibernate.atlassian.net/browse/HHH-9663 and I throught it's solved with version 5.2.10. But the problem still available - see project in attachment. The clue: the setting of dependent-entity on root-entity ant then setting it to null on root-entity happens in the same transaction! If you have any questions/suggestions feel free to ask. |