Hello

 

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?

 

-Joe

 



Confidentiality Notice: This e-mail transmission may contain confidential or 
legally privileged information that is intended only for the individual or 
entity named in the e-mail address.  If you are not the intended recipient, you 
are hereby notified that any disclosure, copying, distribution, or reliance upon
the contents of this e-mail is strictly prohibited. If you have received this 
e-mail transmission in error, please reply to the sender, so that arrangements 
can be made for proper delivery, and then please delete the message from your 
inbox.

Reply via email to