ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Schrader" <teds.mailing.li...@gmail.com>
Subject Re: Semi complex mapping question
Date Wed, 21 Mar 2007 17:23:30 GMT
Hi Mike,

I see where you found the composite key syntax in the Developer's
Guide ("Composite Keys or Multiple Complex Parameters Properties").

The guide does make it sound like the values are being passed in to
the nested select.  I've run out of ideas.

However, when you get this approach working, this will not avoid N+1
selects from being executed; iBATIS will simply execute them for you
with a single invocation of queryForXXXX().

To the list: the guide also gives the impression that the composite
key syntax can only be used with nested statements and not with the
"groupBy" attribute.  Is this true?



View raw message