ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clinton Begin" <clinton.be...@gmail.com>
Subject Re: 1:N:M
Date Thu, 05 Jul 2007 01:03:21 GMT
Yes, you should be able to map any depth or breadth.

Simply use two joins, two groups and two result map chains.


On 7/4/07, Collin Peters <cadiolis@gmail.com> wrote:
> Does iBatis have support to map out queries that are more than just
> 1:N?  For example, imagine in the tutorial that a category not only
> has products as children, but also has some tags as children.
> So in the developer guide on page 37 the section called "1:N & M:N
> Solution", if that SQL had another join against a tags table is it
> still possible to use that syntax somehow to get the right data out
> (which would be one category with an array of products and an array of
> tags)?
> Regards,
> Collin Peters

View raw message