In a nutshell, trace through and figure out what call is triggering the load. You have a failing case, which will save a lot of time on our end.
On 2010-02-08, Daryl Stultz <da...@6degrees.com> wrote: > On Sun, Feb 7, 2010 at 4:15 PM, Clinton Begin > <clinton.be...@gmail.com>wrote: > >> Are you running Beta 9? >> >> I think so, it's ibatis-3-core-src-3.0.0.227. > > >> If so, you might need to step through the code for us to see where it's >> being called. >> >> What is the "it" in "where it's being called"? You want me to look for >> some > trigger/condition that initiates the call to UserTypeMapper.findById() ? > > >> Also, ensure that your <settings> element enables lazy loading in your >> configuration file (see the docs for more). >> >> Yes, it is, and classes are CGLIB enhanced. > >> So it looks like user.userType is being eagerly loaded. How do I set >> things >>> up to be lazy loaded? I have <setting name="lazyLoadingEnabled" >>> value="true" >>> /> even though the default is true. I have confirmed that my classes are >>> being enhanced by CGLIB. >>> >>> > -- > Daryl Stultz > _____________________________________ > 6 Degrees Software and Consulting, Inc. > http://www.6degrees.com > mailto:da...@6degrees.com > -- Sent from my mobile device --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional commands, e-mail: user-java-h...@ibatis.apache.org