"fhh" wrote : Another problem might be that your entityManager is not in sync 
with the database.

You were right. I simply had to refresh the parent and then hibernate could 
delete all references. So it's working now.

Conclusion: Hibernate does the cascading delete itself and does not use 
database features for that.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035656#4035656

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035656
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to