ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sheshadri Patel <meeturpa...@gmail.com>
Subject Re: Association/Inbed Object question
Date Sat, 26 Nov 2005 07:16:00 GMT
Hi,
Would u plz send me the complete code for one flow so that I can give the
correct solution.
and also database table ACCOUNT fields as well.
Tx,
Patel.


On 11/26/05, Alex Chew <chew.alex@gmail.com> wrote:
>
> Thanks, Spatel
>       I am trying, but it seems some unclear to me. would you pls show me
> a piece of example
> based on my code framgemet?
>
> alex
>
>
>  On 11/26/05, Sheshadri Patel <meeturpatel@gmail.com> wrote:
> >
> >
> > Hi,
> >
> >  #handleby.id# will be treated as getHandleby().getId().
> >
> > So use either #handleby# or #id# in the query mapping statement and map
> > the fields in the insert statement correctly.
> >
> > <insert id="insertAccount" parameterClass="account">
> > insert into ACCOUNT (ID,NAME, DEPOSITE, FK_HANDLEBY)
> > values (#id#, #name#, #deposit#, #handleby#)
> > </insert>
> >
> > Tx,
> >
> > Spatel.
> >
> >
>

Mime
View raw message