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 <j...@finanger.no> wrote:
> Any way to map insertion of an object graph ?
> Or is manually insertion the only way....
>
> -Jon
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
> For additional commands, e-mail: user-java-h...@ibatis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-java-h...@ibatis.apache.org

Reply via email to