[jboss-user] [Beginner's Corner] - Re: OneToOne could be null

Wolfgang Knauf do-not-reply at jboss.com
Tue Nov 17 09:16:23 EST 2009


Hi,

so you want to just change the relationship between two entities without changing any of them? Please post the snippet of code where you manage this relationship. Did you make sure that both entities are under control of the entity manager (not "detached")?

Did you declare some "transient" variable? The original exception talks about it.

Hope this helps

Wolfgang

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

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



More information about the jboss-user mailing list