ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niels Beekman" <n.beek...@wis.nl>
Subject RE: Incorrrect syntax near '@PO'
Date Fri, 27 Jan 2006 09:36:22 GMT
Parameters are not supported by the kill-command, use kill $value$, this causes iBATIS to use
the parameter directly.

________________________________________
From: Om Narayan [mailto:om5@hotmail.com] 
Sent: donderdag 26 januari 2006 22:34
To: user-java@ibatis.apache.org
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.

Mime
View raw message