ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Gagner" <phpmon...@gmail.com>
Subject Re: two ?s
Date Thu, 11 May 2006 07:38:37 GMT
After being inspired to try and implement this, I gave it a shot with
the help of my good buddy Larry. However, after actually writing the
code, he went "oops, the order the maps are loaded is significant!".

In any case, the modifed class and test cases added are attached.





On 5/10/06, Larry Meadors <lmeadors@apache.org> wrote:
> That would be great - i know there is one on the WIKI already, but
> take a look and update it if you need to.
>
> Larry
>
>
> On 5/10/06, Christopher Lamey <clamey@localmatters.com> wrote:
> > Hello,
> >
> > It turns out the groupBy attribute references a property in the
> > resultMap, not a column.
> >
> > Doh!
> >
> > It'd be nice if the iBATIS DataMapper PDF mentioned that on page 29 and
> > used different names in the example on page 28 (rather than 'quarter'
> > for everything).
> >
> > I'd be willing to put together a FAQ item with an working example of
> > groupBy hitting two tables via a join if anyone thinks that's useful.
> >
> > Cheers,
> > topher
> >
> >
>

Mime
View raw message