users@glassfish.java.net

Re: How to "instantiate the LAZY relationship prior to serialization"

From: <glassfish_at_javadesktop.org>
Date: Tue, 21 Aug 2007 10:48:16 PDT

Mustafa,

Yes, you need to access lazy relationships prior to returning the owning entity to the client. In your case, if you return the manager just to access its employees, return the employess instead.

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

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