users@glassfish.java.net

Re: Cannot set the parent object of a ManyToOne relation in my EJB3

From: <glassfish_at_javadesktop.org>
Date: Thu, 03 Apr 2008 15:53:40 PST

Can it be that you are using the same set of entity classes in 2 PUs, and in one you have FetchType.LAZY on the 'library' field? _toplink_setlibrary on the Book class means that TopLink code decided to modify ("weave") your class to support LAZY relationship loading. But for whatever reason, the class that you are using doesn't match or is not completely weaved.

Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

http://forums.java.net/jive/thread.jspa?messageID=267656