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.
