Basically it's manual because SQL doesn't have a concept like join on
insert. So you usually write a dao or service method like this:
insertMasterRecord();
for each detail record {
insertDetailRecord();
}
commit();
Jeff Butler
On Thu, Mar 18, 2010 at 8:05 AM, Jon Finanger <[email protected]> wrote:
> Any way to map insertion of an object graph ?
> Or is manually insertion the only way....
>
> -Jon
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]