ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Om Narayan" <...@hotmail.com>
Subject RE: Incorrrect syntax near '@PO'
Date Fri, 27 Jan 2006 23:39:08 GMT
Thank you. That's what I needed.


>From: "Niels Beekman" <n.beekman@wis.nl>
>Reply-To: user-java@ibatis.apache.org
>To: <user-java@ibatis.apache.org>
>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: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