When you put declare a bidirectional relationship in a OneToMany and ManyToOne relationship and put a cascade=CascadeType.ALL on the OneToMany declaration is the cascade in both directions or only on the OneToMany relationship? In other words if I have a airplane with passangers and I remove a passenger will it delete the airplane?
And how do I get it to set a ManyToOne relationship null if the otherside is deleted? I have been working with Cascades but I just can't seem to get it to work right. Thanks in advance, Dennis Przybyla View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057171#4057171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057171 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user