ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HHB <hubaghd...@yahoo.ca>
Subject Basic mapping in iBatis
Date Fri, 27 Jul 2007 23:20:59 GMT

Hi.
I have these two entites: Order and OrderItem
------------------
class Order {
  List orderItems;
}
class OrderItems {
  Order order;
}
-----------------
How to map this relationship at the XML level?
How can I load an Order with all its order items are fully initialized (no 1
+ N problem please)?
Thanks for help.
-- 
View this message in context: http://www.nabble.com/Basic-mapping-in-iBatis-tf4160616.html#a11838111
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message