Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [EJB 3.0] - Re: Working example por OneToMany cascade
 remove?

scott.stark@jboss.org

2007-08-10


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
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.