Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 73778 invoked from network); 21 Feb 2008 09:18:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2008 09:18:11 -0000 Received: (qmail 67708 invoked by uid 500); 21 Feb 2008 09:17:59 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 67691 invoked by uid 500); 21 Feb 2008 09:17:59 -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 67680 invoked by uid 99); 21 Feb 2008 09:17:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 01:17:59 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of 12gaugemedia@gmail.com designates 209.85.146.182 as permitted sender) Received: from [209.85.146.182] (HELO wa-out-1112.google.com) (209.85.146.182) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 09:17:27 +0000 Received: by wa-out-1112.google.com with SMTP id j5so4017272wah.24 for ; Thu, 21 Feb 2008 01:17:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=I61oIJr+jbsNc4e2YTng6qHGMfSiZxwUZ+Ag1wJJR1w=; b=qify3H/20cv63RW5sAOAHZUg2+qBpo5LTn0w57Et0VaJqAuN5NXi0SqO4z9LSZPgEJwxXvUCpSnvepDgitNehgKFT/uCNy6Ks6gUbzcoBHi8ArBna/BIJ7qTpG//Kiw8uUeplulVjIfuxkdujdV8pPckZoKT0p6imWlUClfMkD0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=ncVg4lN/jjKIFJMtWO9FxJPanzJbe/3Q7B9zLZqw51gF51sN+PlnQmpWcSCQ6TNjmxP9W3+MHLi6QpKpky3Ums35kwW5Fox3QoJumfBIfWkNjVoTv3nuHpn/hS+DcWsPrc97OeHDuY58DOtU6gKP5eLsIcma/FKgHDkIaIHegb0= Received: by 10.114.156.1 with SMTP id d1mr1474888wae.68.1203585456525; Thu, 21 Feb 2008 01:17:36 -0800 (PST) Received: by 10.115.33.10 with HTTP; Thu, 21 Feb 2008 01:17:36 -0800 (PST) Message-ID: <748cba5d0802210117p732cbbe3o7d6ff70a116ba917@mail.gmail.com> Date: Thu, 21 Feb 2008 01:17:36 -0800 From: "Ryan Shelley" <12gaugemedia@gmail.com> To: user-java@ibatis.apache.org Subject: Abator: Could not find SQL statement to include with refid MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2531_6602012.1203585456509" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2531_6602012.1203585456509 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I apologize if this is already in a JIRA issue, but for some reason the JIRA site isn't loading for me tonight. I was able to run Abator to generate my iBATIS classes and sql maps, however, when I run my webapp, I receive the following exception: java.lang.RuntimeException: Could not find SQL statement to include with refid 'ballots.abatorgenerated_Example_Where_Clause' When I inspect my sql map, I can see it doesn't seem to be picking up the "ballots" namespace in the sqlMap object. If I remove all of the instances of "ballots." from the refids, it works fine, however, the next time I build my sql map files from Abator, they are added back in. Is there a way to either 1) get the namespace to be recognized, or 2) remove the namespace from all of the refids in the sql map files? I'm using Abator 1.0.0 and iBATIS 2.3 Thanks! ------=_Part_2531_6602012.1203585456509 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I apologize if this is already in a JIRA issue, but for some reason the JIRA site isn't loading for me tonight.

I was able to run Abator to generate my iBATIS classes and sql maps, however, when I run my webapp, I receive the following exception:

java.lang.RuntimeException: Could not find SQL statement to include with refid 'ballots.abatorgenerated_Example_Where_Clause'

When I inspect my sql map, I can see it doesn't seem to be picking up the "ballots" namespace in the sqlMap object.  If I remove all of the instances of "ballots." from the refids, it works fine, however, the next time I build my sql map files from Abator, they are added back in.  Is there a way to either 1) get the namespace to be recognized, or 2) remove the namespace from all of the refids in the sql map files?

I'm using Abator 1.0.0 and iBATIS 2.3

Thanks!
------=_Part_2531_6602012.1203585456509--