iBATIS will only create the list implementations if they are null originally. So in your example, if you create the list implementations in the constructor of the Person object, iBATIS will use them as is.
Jeff Butler
On 5/14/06, MCCORMICK, Paul <[EMAIL PROTECTED]> wrote:
>>Thanks Jeff for your comments. Makes perfect sense. I forgot about
using a custom List Implementation approach. >>That would work out
nicely.
How would you inject your custom list implementation? Is thought ibatis
created the list implementation and did not provide the ability to
override it.
For example, if the Person was defined like below would ibatis create a
MyListImp object instead of its own List implementation?
Person Object
-------------
MyListImp cats;
MyListImp dogs;
int personID;
String personName;
