[jboss-user] [EJB 3.0] - Re: Entity relationship and remove operations
do-not-reply at jboss.com
Mon Apr 9 04:54:26 EDT 2007
"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
More information about the jboss-user