Given the following JPA entity model:
The following test fails due to integrity constraint violation (tranche refereces tranchenmodell), because Hibernate removes entities in the following wrong order:
Trache (contains foreign key to Tranchenmodell)
Thank you for the clear and simple test case. I'll use it when fixing HHH-9091.
Closing rejected issues.