[jboss-user] [EJB 3.0] - Re: EJB3 delete object error

abl do-not-reply at jboss.com
Thu Aug 10 11:15:35 EDT 2006


you have to remove your B from the list in A prior to removing it. otherwise you get the constraint exception. this is normal behaviour.

you can use "mappedby" instead to avoid the m:n table (it is not temp btw.), but then you will have a dependency from B to A and this is not always what you want

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964398



More information about the jboss-user mailing list