users@glassfish.java.net

Re: Lazy collections and remote client

From: <glassfish_at_javadesktop.org>
Date: Fri, 30 Mar 2007 03:38:02 PST

Hi,

AFAIK this is correct behaviour according to specs.

If you want to get lazy collections loaded, do that in your bean either using

[code]entity.getLazyCollection().size();[/code]

or left outer join in query. Or using yours iterator if you feel so.

HTH,
Dale

P.S. And frankly, this is quite well documented, is sort of RTFM or RTFG (RTF Google)
[Message sent by forum member 'dalecooper82' (dalecooper82)]

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