ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zoran Avtarovski <zo...@sparecreative.com>
Subject Re: N+1 Null value objects
Date Tue, 23 Jun 2009 23:56:43 GMT
Bingo. Thanks Jeff.

Now the hard part, the DTD at http://ibatis.apache.org/dtd/sql-map-2.dtd
hasn¹t been updated to include the notNullColumn property so Tomcat is
complaining. 

Do you know if it¹s an oversight and the DTD is going to be updated or
should I point to a local version?

Z.
> 
> This maybe?
> 
> http://issues.apache.org/jira/browse/IBATIS-375
> 
>  <http://issues.apache.org/jira/browse/IBATIS-375> Jeff Butler
> 
> 
> On Tue, Jun 23, 2009 at 12:04 AM, Zoran Avtarovski <zoran@sparecreative.com>
> wrote:
>> I¹ve come across a problem I haven¹t seen for long time.
>> 
>> I¹m running an n+1 query. If the query returns no children I get a single
>> child object with null values.
>> 
>> I thought there was a way to prevent null value objects from being generated
>> by I can¹t remember how.
>> 
>> Does any of this sound familiar? If somebody could point out the solution to
>> my memory lapse I¹d be extremely grateful.
>> 
>> TIA
>> Z. 
> 
> 



Mime
View raw message