ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: raltation and inserts
Date Mon, 10 Jan 2005 17:14:11 GMT
Yes, both the Developer Guide and the Tutorial show how to update.

Clinton


On Mon, 10 Jan 2005 08:34:14 -0700, Brandon Goodin
<brandon.goodin@gmail.com> wrote:
> You would perform an insert like any other. The guide does describe
> how to insert.
> 
> Brandon
> 
> 
> On Mon, 10 Jan 2005 13:22:02 +0100, David Nielsen <dn@videone.dk> wrote:
> > Hi,
> >
> > I have 2 classes:
> >
> > Account
> >     private int id;
> >     private String username;
> >     private String password;
> >     private Collection groups;
> >
> > Group
> >     private int id;
> >     private String name;
> >
> > the db has 3 tables;
> >
> > ACCOUNT
> > GROUP
> > ACCOUNT_GROUP_REF
> >
> > where ACCOUNT_GROUP_REF is a join table for my relations,
> > with 2 collumns:
> > ACCOUNT_ID
> > GROUP_ID
> >
> > Now my question is how do i keep my ACCOUNT_GROUP_REF updated,
> >
> > the Developer guide describes how to setup selects only,
> > but what about insert and updates, of the relations ??
> >
> > Regards,
> > David Nielsen
> >
>

Mime
View raw message