Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 84221 invoked from network); 5 Jul 2006 09:55:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jul 2006 09:55:21 -0000 Received: (qmail 32295 invoked by uid 500); 5 Jul 2006 09:55:19 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 32264 invoked by uid 500); 5 Jul 2006 09:55:18 -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 32242 invoked by uid 99); 5 Jul 2006 09:55:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 02:55:18 -0700 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.92] (HELO wis.nl) (83.247.21.92) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 02:55:17 -0700 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: problem with '$' in package name X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Wed, 5 Jul 2006 11:54:48 +0200 Message-ID: <50CA25BD6EEA954FA592C097399942E313A806C4@CM1.wis.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: problem with '$' in package name thread-index: AcagDxflK43DmnYrREiY6UGYZQ0uBwACd3zg 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 As for the first problem:=20 http://opensource.atlassian.com/confluence/oss/display/IBATIS/How+do+I+us= e+POUND+or+DOLLAR+symbols+in+my+queries Second one I don't know. Niels ________________________________________ From: vishakha sawant [mailto:vishakha.sawant@gmail.com]=20 Sent: woensdag 5 juli 2006 10:43 To: user-java@ibatis.apache.org Subject: problem with '$' in package name Hi, We have to call legacy oracle store procedure which has '$' included in = package name. When I try it I fot following exception. --- The error occurred in sqlMap.xml.=A0=20 --- The error occurred while preparing the mapped statement for = execution.=A0=20 --- Check the sample_proc.=A0=20 --- Check the SQL statement.=A0=20 --- Cause: java.util.NoSuchElementException; nested exception is = com.ibatis.common.jdbc.exception.NestedSQLException:=A0=A0=20 --- The error occurred in sqlMap.xml .=A0=20 --- The error occurred while preparing the mapped statement for = execution.=A0=20 --- Check the sample_proc.=A0=20 --- Check the SQL statement.=A0=20 --- Cause: java.util.NoSuchElementException The syntax I am using is as follows=20 sample$pack.sample_proc here sample_pack is package name and sample_proc is procedure name. But when I try it without '$' character it is working fine. As we are = using legacy database we have to use that '$' character so should there = is any other way to avoid this exception with the same package name.=20 And the another issue is we are using patch version for oraclecursor for = that we need modified sql-map-2.dtd which includs 'resultMap' attribute = in parameter element but current version on " = http://www.ibatis.com/dtd/sql-map-2.dtd" does not have this attribute so = what is solution for this problem? and When iBatis is going to include = 'resultMap' attribute in parameter element of sql-map-2.dtd file Thanks and Regards, Vishakha sawant