Return-Path: Mailing-List: contact ibatis-user-java-help@incubator.apache.org; run by ezmlm Delivered-To: mailing list ibatis-user-java@incubator.apache.org Received: (qmail 43571 invoked by uid 99); 15 Dec 2004 20:40:52 -0000 Received-SPF: pass (hermes.apache.org: domain of brandon.goodin@gmail.com designates 64.233.170.192 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.192) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 15 Dec 2004 12:39:37 -0800 Received: by rproxy.gmail.com with SMTP id g11so313352rne for ; Wed, 15 Dec 2004 12:39:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Td3P/tPDmENemL84kagVnYd48E9jp0ZDjuAGYh73JBXCUTE4VC9GPLQOt708gh1iIfEUltq6HXbIuclwsWf5m4aPEHe5rQ74UBU3Ti4XTN12sC8irq3kLCcbrjkecFSW/m5p3gGrRb9x2ljUXXxrQRNe07ERSbOoaAVsu2s08DE= Received: by 10.38.161.47 with SMTP id j47mr970640rne; Wed, 15 Dec 2004 12:39:02 -0800 (PST) Received: by 10.38.74.31 with HTTP; Wed, 15 Dec 2004 12:39:02 -0800 (PST) Message-ID: <2fe5ef5b04121512397c442760@mail.gmail.com> Date: Wed, 15 Dec 2004 13:39:02 -0700 From: Brandon Goodin Reply-To: Brandon Goodin To: Nathan Maves Subject: Re: Location of Type Aliases Cc: ibatis-user-java@incubator.apache.org In-Reply-To: <2BE32EBA-4EC9-11D9-8DD8-000393C7A454@sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <2BE32EBA-4EC9-11D9-8DD8-000393C7A454@sun.com> X-Virus-Checked: Checked Then you would place those aliases into a file that said "global-aliases.xml" and load it before the others. That would indicate that one should check the other sqlmaps before tweaking an alias. Branodn On Wed, 15 Dec 2004 11:43:11 -0700, Nathan Maves wrote: > Just a thought but why can you not define the same alias in multiple > sqlmap files? > > And is the workaround that most people use to create a sqlmap file that > just contains their aliases? > > For me, it seem appropriate to keep the alias near the statement or map > that uses it. This way someone does not mistakenly remove an alias > that may no longer be needed in one specific but may still be needed > elsewhere. > > Nathan > >