users@glassfish.java.net

Re: entities - lazy loading for basic fields?

From: Markus Fuchs <Markus.Fuchs_at_Sun.COM>
Date: Fri, 23 Mar 2007 14:50:08 -0700

Lazy loading for basic mappings is not available in TLE. It *is*
available in the toplink product. TLE supports lazy loading of
collection relationships. Lazy loading of "ToOne" relationships requires
the use of a java agent in Java SE. Please see

http://weblogs.java.net/blog/cayhorstmann/archive/2006/06/the_innermost_s.html

-- markus.

glassfish_at_javadesktop.org wrote:
> With build 39, TLE seems to ignore the lazy loading annotation for basic fields:
> i have this message during deployment:
>
> Ignoring LAZY fetch type on element [private java.lang.String deq.mar.metier.Fichier.data2] within entity class [class deq.mar.metier.Fichier]. All basic mappings default to use EAGER fetching.
> [Message sent by forum member 'ygillet' (ygillet)]
>
> http://forums.java.net/jive/thread.jspa?messageID=209687
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>