ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpamarti <bpama...@yahoo.com>
Subject nested ArrayLists
Date Tue, 07 Apr 2009 22:10:28 GMT

Lets say Person is a bean

public class Person implements Serializable {
  String firstName;
  String lastName;
  ArrayList addresses;

  ... getters and setters ...
  
}
Address is another bean

public class Address implements Serializable {
  String city;
  String state;

  ... getters and setters ...

}
I have two stored procedures one is to getAllSelectedPersons and the other
getAllAddressesByPerson

How can we get an ArrayList of Persons using ibatis? I havent worked with
nested ArrayLists in iBatis. 
-- 
View this message in context: http://www.nabble.com/nested-ArrayLists-tp22939329p22939329.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message