ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daigo Kobayashi <da...@abs-network.com>
Subject Re: Is it possible to create 1:N + 1:M object.
Date Mon, 19 Mar 2007 07:47:30 GMT
Thank you for replying.

I'll wait for iBatis team fix this.


> 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 
> <mailto: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