ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amad Fida <amad.f...@gmail.com>
Subject Re: M:N Question
Date Sat, 19 Mar 2005 00:31:13 GMT
Can you provide a simple example for that. All the example I found are 
single collection property based.

Amad

Clinton Begin wrote:

>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