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:[email protected]]
Sent: Thursday, February 12, 2009 10:20 PM
To: [email protected]
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:[email protected]]
Sent: February 12, 2009 11:43 AM
To: [email protected]
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.