« Return to Thread: N+1 Null value objects

Re: N+1 Null value objects

by Jeff Butler-2 :: Rate this Message:

Reply to Author | View in Thread

This maybe?

http://issues.apache.org/jira/browse/IBATIS-375

Jeff Butler


On Tue, Jun 23, 2009 at 12:04 AM, Zoran Avtarovski <zoran@...> 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.

 « Return to Thread: N+1 Null value objects