carlosjosep...@gmail.com]
> Sent: Wednesday, December 16, 2009 12:16 PM
> To: user-java@ibatis.apache.org
> Subject: Re: Lazy loading differences between ibatis 2 and 3
>
> Hi Christian,
>
> I understand your point but I don't get its relation to my question at all.
> Continuing yo
gt; In iBATIS 3, testing (employee.getBoss() instanceof Director) will be true
>> if the employee's boss is a Director. To know the real type, the statement
>> must be executed.
>>
>> Christian
>>
>>
>> -Original Message-----
>> From: Carlos Pita
ber 16, 2009 12:16 PM
> To: user-java@ibatis.apache.org
> Subject: Re: Lazy loading differences between ibatis 2 and 3
>
> Hi Christian,
>
> I understand your point but I don't get its relation to my question at all.
> Continuing your example, I would ask why employee.g
method on Employee is
called.
Christian
-Original Message-
From: Carlos Pita [mailto:carlosjosep...@gmail.com]
Sent: Wednesday, December 16, 2009 12:16 PM
To: user-java@ibatis.apache.org
Subject: Re: Lazy loading differences between ibatis 2 and 3
Hi Christian,
I understand your point
eal type, the statement must
> be executed.
>
> Christian
>
>
> -Original Message-
> From: Carlos Pita [mailto:carlosjosep...@gmail.com]
> Sent: Wednesday, December 16, 2009 11:45 AM
> To: user-java@ibatis.apache.org
> Subject: Lazy loading differences between ibatis 2 a
AM
To: user-java@ibatis.apache.org
Subject: Lazy loading differences between ibatis 2 and 3
Hi all,
I've the following sqlmap for ibatis 2. Suppose ibatis has its lazy-loading
feature enabled and I obtain a user U by means of findUserById. Then I call
U.getEmail() and findMemberById is no
Hi all,
I've the following sqlmap for ibatis 2. Suppose ibatis has its
lazy-loading feature enabled and I obtain a user U by means of
findUserById. Then I call U.getEmail() and findMemberById is not
executed. That's fine, one wouldn't expect the associated member to be
loaded until there is a real