Thank you. That's what I needed.
From: "Niels Beekman" <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: <[email protected]>
Subject: RE: Incorrrect syntax near '@PO'
Date: Fri, 27 Jan 2006 10:36:22 +0100
Parameters are not supported by the kill-command, use kill $value$, this
causes iBATIS to use the parameter directly.
________________________________________
From: Om Narayan [mailto:[EMAIL PROTECTED]
Sent: donderdag 26 januari 2006 22:34
To: [email protected]
Subject: Incorrrect syntax near '@PO'
Hi,
I have the following statement setup.
<statement id="killSqlProcessId" parameterClass="int">
kill #value#
</statement>
When I try to execute using,
sqlMap.queryForObject( "killSqlProcessId", procId );
I get "Incorrrect syntax near '@PO'" error although the sql log shows the
prepared statement and the parameter to be correct. Any help is greatly
appreciated.
Thanks.