[jboss-user] [EJB 3.0] - Re: Working example por OneToMany cascade remove?
icordoba
do-not-reply at jboss.com
Fri Aug 10 11:27:33 EDT 2007
OK.. thanks for the reply.
This way, Users will the orphan and I need the special Hibernate annotation for orphans to be removed, right?
Is there a way of making JBoss really remove User entities itself without that Hibernate-specific annotation?
I can't understand what is then the pourpose of the CascadeType.REMOVE (or ALL in this case) as I must "unlink" users from portals setting Portal value to null before removing the portal. Does cascading do any work then?
Thanks a lot,
Ignacio
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073093#4073093
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073093
More information about the jboss-user
mailing list