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.