insert always returning null (urgent )

2007-09-21 Thread Yuvraj Shinde
Hi all I am using insert query. it is always returning a null value. how to get the value of inserted object? Following is mine insert statement insert into LIMNAME (AUDIT_ACTIVE, AUDIT_AGEN, AUDIT_AOP0, AUDIT_ADATE0, AUDIT_ATIME0, AUDIT_AOP1, AUDIT_ADATE1, AUDIT_ATIME

RE: insert always returning null (urgent )

2007-09-21 Thread Yuvraj Shinde
How to use a selectKey In insert ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Meadors Sent: Friday, September 21, 2007 9:36 PM To: user-java@ibatis.apache.org Subject: Re: insert always returning null (urgent ) The insert method does not return

RE: insert always returning null (urgent )

2007-09-21 Thread Yuvraj Shinde
I am using oracle database . how I get the result object.please help. -Original Message- From: Yuvraj Shinde Sent: Friday, September 21, 2007 9:40 PM To: 'user-java@ibatis.apache.org'; '[EMAIL PROTECTED]' Subject: RE: insert always returning null (urgent ) How to use a selectKey In inser

Re: insert always returning null (urgent )

2007-09-21 Thread Larry Meadors
The insert method does not return the inserted object, it returns the result of your selectKey element. If you don't use a selectKey element, insert will return null. Larry On 9/21/07, Yuvraj Shinde <[EMAIL PROTECTED]> wrote: > > > > > Hi all > > > > I am using insert query. it is always retur

Re: insert always returning null (urgent )

2007-09-21 Thread Brandon Goodin
Yuvraj, I'd be happy to train you one on one on how to use iBATIS. Feel free to contact me and i can provide you my billable rate. However, your best bet is to read the manual first. It is located at http://ibatis.apache.org/docs/java/pdf/iBATIS-SqlMaps-2_en.pdf. If you have questions after you re

RE: insert always returning null (urgent )

2007-09-21 Thread Yuvraj Shinde
Hi Brandon, Thanks for your kind reply. I don't need any training , if you need please contact me. Thanks yuvrajs From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Friday, September 21, 2007 11:15 PM To: user-java@ibatis.apache.org Subject: Re: in