ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anad Fida <amad.f...@gmail.com>
Subject M:N Question
Date Fri, 18 Mar 2005 18:16:43 GMT
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