Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 96661 invoked from network); 15 Jan 2009 14:04:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jan 2009 14:04:38 -0000 Received: (qmail 54350 invoked by uid 500); 15 Jan 2009 14:04:37 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 54334 invoked by uid 500); 15 Jan 2009 14:04:37 -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 54325 invoked by uid 99); 15 Jan 2009 14:04:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 06:04:37 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jan 2009 14:04:29 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LNSpM-0003Rf-Pw for user-java@ibatis.apache.org; Thu, 15 Jan 2009 06:04:08 -0800 Message-ID: <21478214.post@talk.nabble.com> Date: Thu, 15 Jan 2009 06:04:08 -0800 (PST) From: _Eric_ To: user-java@ibatis.apache.org Subject: RE: include SQL mapping file In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: eric_@web.de References: <21476828.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks for your sugestion, but doesn't change anything :-( Young, Alistair wrote: >=20 > Just one thought: in your SqlMapConfig file, have you included your > ErrorMap.xml (or whatever it's called) BEFORE the SqlMap which is trying > to use it? >=20 > I've seen problems caused by this in the past. >=20 >=20 > Alistair. >=20 > -----Original Message----- > From: _Eric_ [mailto:eric_@web.de]=20 > Sent: 15 January 2009 12:44 > To: user-java@ibatis.apache.org > Subject: include SQL mapping file >=20 >=20 > Hi all, >=20 > I have one mapping file for every message type I send. There is an error > handling used in every message type. So I want to put it in an seperate > mapping config: >=20 > > =09 /> > =09 > =09 > =09=09 > =09 >=20 > =09 > >=20 >=20 > To use it I used the select with the name space : property=3D"error"=20 > column=3D"error" select=3D"Error.getError"/> And put the sqlMap resource > into the sqlMapConfig. >=20 > The result is an iBatis error: Cause: > com.ibatis.sqlmap.client.SqlMapException: There is no statement named > Error.getError in this SqlMap. >=20 > How can I reuse in sveral mapping files? >=20 > Greetings > Eric >=20 >=20 > -- > View this message in context: > http://www.nabble.com/include-SQL-mapping-file-tp21476828p21476828.html > Sent from the iBATIS - User - Java mailing list archive at Nabble.com. >=20 >=20 >=20 > Please help Logica to respect the environment by not printing this email= =20 > / Merci d'aider Logica =C3=A0 pr=C3=A9server l'environnement en =C3=A9vi= tant d'imprimer > ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so > Logica dabei die Umwelt zu schuetzen / Por favor ajude a Logica a > respeitar o ambiente n=C3=A3o imprimindo este correio electr=C3=B3nico. >=20 >=20 >=20 > This e-mail and any attachment is for authorised use by the intended > recipient(s) only. It may contain proprietary material, confidential > information and/or be subject to legal privilege. It should not be copied= , > disclosed to, retained or used by, any other party. If you are not an > intended recipient then please promptly delete this e-mail and any > attachment and all copies and inform the sender. Thank you. >=20 >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/include-SQL-mapping-fil= e-tp21476828p21478214.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com.