ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: 1 TO N UPDATES
Date Tue, 07 Nov 2006 15:26:54 GMT
No. You have to do that yourself.

Larry


On 11/7/06, proge.allievi@daimlerchrysler.com
<proge.allievi@daimlerchrysler.com> wrote:
>
> 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