ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Om Narayan" <...@hotmail.com>
Subject Incorrrect syntax near '@PO'
Date Thu, 26 Jan 2006 21:33:40 GMT
<html><div style='background-color:'><DIV class=RTE>
<DIV class=RTE>Hi,</DIV>
<DIV class=RTE>I have the following statement setup.</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>&lt;statement id="killSqlProcessId" parameterClass="int"&gt;</DIV>
<DIV class=RTE>kill #value#</DIV>
<DIV class=RTE>&lt;/statement&gt;</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>When I try to execute using, </DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>sqlMap.queryForObject( "killSqlProcessId", procId );</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>I get "Incorrrect syntax near '@PO'" &nbsp;error although the sql
log shows the prepared statement and the parameter to be correct. Any help is greatly appreciated.</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>Thanks.<BR></DIV></DIV><FONT color=#000000></DIV></FONT></DIV></div></html>

View raw message