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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED] > 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.
 

Reply via email to