Hello Everybody, My apologise if I have hurted anyone in any manner.
Regards Rahul Saluja ________________________________ From: Sundar Sankar [mailto:fatboys...@gmail.com] Sent: Thursday, February 12, 2009 10:38 PM To: user-java@ibatis.apache.org Subject: Re: KeyProperty attribute in Selectkey Tag Hey Rahul, PPL are volunteering to reply, They arent obliged to u in any way. You gotto be patient if u need reply. Please do watch what you say please -Sundar On Thu, Feb 12, 2009 at 10:00 AM, Rahul Saluja <rahul.sal...@vnl.in<mailto:rahul.sal...@vnl.in>> wrote: Does anybody care to reply. Please. ________________________________ From: Rahul Saluja [mailto:rahul.sal...@vnl.in<mailto:rahul.sal...@vnl.in>] Sent: Thursday, February 12, 2009 10:22 PM To: user-java@ibatis.apache.org<mailto:user-java@ibatis.apache.org> Subject: RE: KeyProperty attribute in Selectkey Tag Hey Burke, So does this mean if I simply say <selectKey resultClass="java.lang.Long"> SELECT currval('MSCPerfCntrTrunk_seq') </selectKey> While doing insert in my java code in following manner Long generatedSeq = (Long)Sqlmapclient.insert("stringiD" , class); Will this return me generated sequence back to my java code. Regards Rahul Saluja ________________________________ From: Burke.Kevin [mailto:kevin.bu...@cic.gc.ca<mailto:kevin.bu...@cic.gc.ca>] Sent: Thursday, February 12, 2009 10:20 PM To: user-java@ibatis.apache.org<mailto:user-java@ibatis.apache.org> Subject: RE: KeyProperty attribute in Selectkey Tag This the name of the attribute you can use in your INSERT command to specify the primary key. -Kevin -----Original Message----- From: Rahul Saluja [mailto:rahul.sal...@vnl.in<mailto:rahul.sal...@vnl.in>] Sent: February 12, 2009 11:43 AM To: user-java@ibatis.apache.org<mailto:user-java@ibatis.apache.org> Subject: KeyProperty attribute in Selectkey Tag Importance: High Hello everybody, Can anyone tell me in simple words what is the purpose of Keyproperty attribute in selectkey tag. Looking forward to your response. Regards Rahul Saluja The information contained in this e-mail is private & confidential and may also be legally privileged. If you are not the intended recipient, please notify us, preferably by e-mail, and do not read, copy or disclose the contents of this message to anyone. The information contained in this e-mail is private & confidential and may also be legally privileged. If you are not the intended recipient, please notify us, preferably by e-mail, and do not read, copy or disclose the contents of this message to anyone. The information contained in this e-mail is private & confidential and may also be legally privileged. If you are not the intended recipient, please notify us, preferably by e-mail, and do not read, copy or disclose the contents of this message to anyone. The information contained in this e-mail is private & confidential and may also be legally privileged. If you are not the intended recipient, please notify us, preferably by e-mail, and do not read, copy or disclose the contents of this message to anyone.