You're right, the ManyToOne didn't have any cascade attribute set.
Adding the CascadeType.ALL made the stuff work. 
It's a one-to-one in fact here, so I can cascade the remove, not sure what to 
do if it's really a many-to-one, set explicitly to cascade none ? 
Sounds weird ...
Isn't cascade=none the default value for binding ?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057442#4057442

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057442
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to