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