ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler" <jeffgbut...@gmail.com>
Subject Re: Is it possible to create 1:N + 1:M object.
Date Thu, 15 Mar 2007 20:55:22 GMT
Not possible now.  See this:

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

Jeff Butler



On 3/15/07, Daigo Kobayashi <daigo@abs-network.com> wrote:
>
> Hi,
>
> Is it possible to create 1:N + 1:M object.
>
> I think iBatis can create 1:N object, if I use
> groupBy. So it is possible to create 1:N + 1:M object?
>
> For example;
> <resultMap id="aaa" groupBy="a">
>   ...
>   <result property="xxx" resultMap="bbb"/>
>   <result property="yyy" resultMap="ccc"/>
> </resultMap>
>
> <resultMap id="bbb" groupBy="b">
>   ...
> </resultMap>
>
> <resultMap id="ccc" groupBy="c">
>   ...
> </resultMap>
>
> If I create sqlmap file like this, can iBatis handle 1:N + 1:M?
>
>

Mime
View raw message