tags:

views:

309

answers:

0

What is the correct approach for persisting parent child object graph in my sqlMap?

I want to insert a new fully populated object, with parent and children, into two separate tables. Is the correct approach to persist the parent as a first step and then use the "iterate" tag to dynamically write sql to persist the children?