ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Stultz <da...@6degrees.com>
Subject Re: Expected lazy loading, got eager.
Date Sun, 07 Feb 2010 20:52:21 GMT
On Sat, Feb 6, 2010 at 3:37 PM, Daryl Stultz <daryl@6degrees.com> wrote:

> So it looks like user.userType is being eagerly loaded. How do I set things
> up to be lazy loaded?
>

Following this thread here:
http://www.mail-archive.com/user-java@ibatis.apache.org/msg15270.html
it appears iBATIS doesn't support lazy loading from a practical standpoint.
Maybe this is true only for associations requiring a discriminator? The
thread was a little hard to follow. Can someone post a very simple mapping
of a class with one association where the association is lazy loaded?

Thanks.

-- 
Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:daryl@6degrees.com

Mime
View raw message