Yes I do. The interesting thing is that Lazy loading is working on some of my other objects but not on this one.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of "Larry Meadors" <[EMAIL PROTECTED]>
Sent: Thursday, May 24, 2007 8:12 PM
To: user-java@ibatis.apache.org
Subject: Re: Lazy Loading not working

Do you have cglib on your classpath?

Larry


On 5/24/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]>wrote:
>
>
> I've got one SQLMap for an object that has children. For some reason when I
> execute a select and have properties of the result object perform selects to
> retrieve the adjacent objects the lazy load does not seem to work, but
> rather the adjacent select statements are being fired and the data is
> retrieved.
>
> I'm using iBatis 2.3.0.667
>
> My SQL Map Config has the following defined:
>
> > cacheModelsEnabled="true"
> errorTracingEnabled="true"
> enhancementEnabled="true"
> lazyLoadingEnabled="true"
> maxSessions="250"
> maxTransactions="30"
> maxRequests="500"
> useStatementNamespaces="true"/>
>
> My result Map looks as follows: (The ones in red seem to be fired every time
> no matter what)
>
>
>
>
>
> > property="previousState" />
> > jdbcType="VARCHAR" property="documentIdentifier"/>
> > jdbcType="VARCHAR" property="poNumber"/>
> > select="RequestOrder.findByPrimaryKey"/>
> > property="createDate" />
> > property="modifiedDate" />
> > />
> > column="{textPointer=Payload_text_pointer,dataLength=Payload_data_length}"
> property="payload" select="Message.loadContent"/>
> > select="Message.findByPrimaryKey"/>
> > select="MessageMetaData.findByMessageId"/>
>

>
>
> Thanks for the help...
>
>
> Chris Mathrusse
> [EMAIL PROTECTED]
> (925) 236-5553
>

Reply via email to