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: M:N Question
Date Fri, 18 Mar 2005 19:44:57 GMT
Yes, either of the M:N solutions should work (either separate
select/lazy-load, or join/repeating group mapping).

Clinton


On Fri, 18 Mar 2005 10:48:49 -0800, Anad Fida <amad.fida@gmail.com> wrote:
> I have a quick question and just need to know if I can use any ofM :N
> solutions , I have a object (Parent) with different collection
> properties. I would like to load them all in one query but if one of
> them is empty or there is no record that relates to parent for one of
> the child properties I still want to load the rest.
> 
> Here is an example,
> 
> Product {
>   List items,
>   List vendors;
>   List similarProducts;
> }
> 
> Now here when I load a product i would want to load all these three
> properties independent of each other hopefully all in one query. Is it
> possible to that.
> 
> Amad
> 
> 
>

Mime
View raw message