[jboss-user] [JBoss Seam] - Re: EntityNotFoundException

limousyf do-not-reply at jboss.com
Mon Jun 25 13:39:37 EDT 2007


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



More information about the jboss-user mailing list