Orphanremoval is not working with hibernate 5.6 versions

Hi There,

I am upgrading to spring boot 2.6 with hibernate version 5.6.14 but test cases are failing as orphanRemoval is not doing any effect and er are getting duplicate records…

any quick help on this would be appreciated!!

Thanks !!

Try to reproduce your issue with a test case(hibernate-test-case-templates/JPAUnitTestCase.java at main · hibernate/hibernate-test-case-templates · GitHub) and share that with us so we can look into the problem.