ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: Expected lazy loading, got eager.
Date Sat, 13 Feb 2010 03:10:51 GMT
For this thread, and others...

Since this topic has come up a few times, I've added a setting to allow you
to choose aggressive lazy or super lazy... if that makes any sense.  Docs
are updated.  Look for aggressiveLazyLoading.

Note that calling equals, hashCode, or toString will still cause the
complete object to be loaded, as they won't work correctly unless it does.


On Mon, Feb 8, 2010 at 12:13 PM, Daryl Stultz <daryl@6degrees.com> wrote:

> On Mon, Feb 8, 2010 at 2:08 PM, Hugh Ross <hh4ross@gmail.com> wrote:
>> My recollection is that iBatis always eagerly loaded 1 to 1 and many
>> to 1 associations, and only lazy loaded 1 to many's and many to
>> many's, or to put it another way, only lazy loads Collections, not
>> individual objects...
>> I simplified my case here with just a one to many association. I also have
> a collection that is being eagerly loaded.
> --
> Daryl Stultz
> _____________________________________
> 6 Degrees Software and Consulting, Inc.
> http://www.6degrees.com
> mailto:daryl@6degrees.com

View raw message