Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 27414 invoked from network); 27 Jan 2006 09:37:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jan 2006 09:37:10 -0000 Received: (qmail 91333 invoked by uid 500); 27 Jan 2006 09:37:09 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 90889 invoked by uid 500); 27 Jan 2006 09:37:05 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 90870 invoked by uid 99); 27 Jan 2006 09:37:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jan 2006 01:37:05 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.247.21.91] (HELO wis.nl) (83.247.21.91) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jan 2006 01:37:04 -0800 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Incorrrect syntax near '@PO' X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Fri, 27 Jan 2006 10:36:22 +0100 Message-ID: <50CA25BD6EEA954FA592C097399942E309314007@CM1.wis.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Incorrrect syntax near '@PO' Thread-Index: AcYiwDLFwxVING5MSiWvsIe9PNZFzgAZNA6A From: "Niels Beekman" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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]=20 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. =A0 kill #value# =A0 When I try to execute using,=20 =A0 sqlMap.queryForObject( "killSqlProcessId", procId ); =A0 I get "Incorrrect syntax near '@PO'" =A0error although the sql log shows = the prepared statement and the parameter to be correct. Any help is = greatly appreciated. =A0 Thanks.