Re: How to handle Insert and update of 1:N objects

2007-03-21 Thread Larry Meadors
No, there is not a way to do that automatically, you have to insert (or update) the parent, then iterate through the child records in code inserting (or updating) them. Larry On 3/21/07, daheri <[EMAIL PROTECTED]> wrote: I've just started out with iBATIS and have not found any information on t

How to handle Insert and update of 1:N objects

2007-03-21 Thread daheri
Hi, I've just started out with iBATIS and have not found any information on this subject anywhere. I have one javabean (ITEM) containing a list of other javabeans (ALTERNATIVE). I was hoping to handle everything through a ItemDAO. The iBATIS mapping for the selects works perfectly. Then I can cr