Return-Path: Delivered-To: apmail-incubator-ibatis-user-java-archive@www.apache.org Received: (qmail 79731 invoked from network); 27 May 2005 17:35:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 May 2005 17:35:27 -0000 Received: (qmail 33074 invoked by uid 500); 27 May 2005 17:35:26 -0000 Delivered-To: apmail-incubator-ibatis-user-java-archive@incubator.apache.org Received: (qmail 33048 invoked by uid 500); 27 May 2005 17:35:26 -0000 Mailing-List: contact ibatis-user-java-help@incubator.apache.org; run by ezmlm Precedence: bulk Reply-To: ibatis-user-java@incubator.apache.org List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list ibatis-user-java@incubator.apache.org Received: (qmail 33033 invoked by uid 99); 27 May 2005 17:35:25 -0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=DNS_FROM_RFC_ABUSE,HOT_NASTY,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of dhsilva@gmail.com designates 64.233.184.203 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.203) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 27 May 2005 10:35:23 -0700 Received: by wproxy.gmail.com with SMTP id 69so1164633wra for ; Fri, 27 May 2005 10:35:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MpqwE3PDvwiTHjmu1kU4q+XTypjRmyeG1ZP64JkZmLI63O/aNZigv12nOMhk06QsVXVgg3OB5Bn0j/aCCYKforCkPvFk1XkzmGDUNb3i1vHP+vPTnrviXv1VL9RbFBBuNpaos41emPXxsOR3Lb+Jsf8sOBKYQjOwpn0NcxZ7OlU= Received: by 10.54.142.12 with SMTP id p12mr1737932wrd; Fri, 27 May 2005 10:35:21 -0700 (PDT) Received: by 10.54.72.13 with HTTP; Fri, 27 May 2005 10:35:21 -0700 (PDT) Message-ID: <762ca9ae05052710356be03526@mail.gmail.com> Date: Fri, 27 May 2005 14:35:21 -0300 From: Daniel Henrique Ferreira e Silva Reply-To: Daniel Henrique Ferreira e Silva To: ibatis-user-java@incubator.apache.org Subject: Re: Namespace Problem In-Reply-To: <23ED97FC5E43D54E8C4A91B61C141F1801BFC143@exchange2003.marketingassociates.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <23ED97FC5E43D54E8C4A91B61C141F1801BFC143@exchange2003.marketingassociates.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Carson, Did you enable namespaces in your sql-map-config? Did you declare a valid namespace for your maps file? Cheers, Daniel Silva. On 5/27/05, Carson Reinke wrote: > Hi- >=20 > Not sure if this is the right mail list, but having a little trouble > using the namespace in the SQL map. I have something like this in a > resultMap: >=20 > select=3D"SomeNamespace.statementId"/> >=20 > I receive this error when trying to query: >=20 > --- The error occurred in iBATIS/sqlmap-XXX.xml. > --- The error occurred while applying a result map. > --- Check the XXX.XXX. > --- Check the result mapping for the 'someProperty' property. > --- Cause: com.ibatis.sqlmap.client.SqlMapException: There is no > statement named SomeNamespace.statementId in this SqlMap.]; SQL was [] > for task [SqlMapClient operation] >=20 > Any ideas? I the SQL maps doc said that was allowed. >=20 > Thanks. >=20 > Carson Reinke > creinke@marketingassociates.com > P: 248.333.7700 x108 >