ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From proge.alli...@daimlerchrysler.com
Subject 1 TO N UPDATES
Date Tue, 07 Nov 2006 11:18:58 GMT

Hello everybody.
I need help undestanding a thing.
I can execute 1 to N select, selecting data from tables from 1-N relation.

There is a way to execute an automatic "insert" or "update" in such tables?

For example:

table a           ID    KEY

table b           ID    KEY
            ID2   KEY

Object A    String id; List objectsB;
Object B    String id; String id2;

update(A objectA);

????

Such an update "must" undestand if related table has elements and insert,
delete or update according to presence or absence of the element in table.


Mime
View raw message