Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 71484 invoked from network); 21 Oct 2009 07:59:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Oct 2009 07:59:00 -0000 Received: (qmail 84034 invoked by uid 500); 21 Oct 2009 07:59:00 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 84012 invoked by uid 500); 21 Oct 2009 07:58: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 84004 invoked by uid 99); 21 Oct 2009 07:58:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 07:58:59 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: unknown (nike.apache.org: error in processing during lookup of nospam@kaigrabfelder.de) Received: from [85.25.124.179] (HELO mail.special-host.de) (85.25.124.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2009 07:58:50 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.special-host.de (Postfix) with ESMTP id 1F9746A0A0 for ; Wed, 21 Oct 2009 07:58:29 +0000 (UTC) X-Virus-Scanned: LINUX amavisd-new at special-host.de X-Spam-Score: -4.377 X-Spam-Level: Received: from mail.special-host.de ([127.0.0.1]) by localhost (mail.special-host.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VxyEGH3QTmXv for ; Wed, 21 Oct 2009 07:58:27 +0000 (UTC) Received: from [192.168.2.102] (p3EE04844.dip.t-dialin.net [62.224.72.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nospam@kaigrabfelder.de) by mail.special-host.de (Postfix) with ESMTPSA id 509666A09A for ; Wed, 21 Oct 2009 07:58:27 +0000 (UTC) Message-ID: <4ADEBF22.1030006@kaigrabfelder.de> Date: Wed, 21 Oct 2009 09:58:26 +0200 From: Kai Grabfelder Reply-To: nospam@kaigrabfelder.de User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: user-java@ibatis.apache.org Subject: Re: Post script annotation References: <25982252.post@talk.nabble.com> In-Reply-To: <25982252.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO X-Old-Spam-Status: No, score=-4.377 tagged_above=-9999.9 required=6.31 tests=[ALL_TRUSTED=-1.8, AWL=0.022, BAYES_00=-2.599] Hi, I'm not into the migration tool that much, but you should be able to finde the code within the ibatis3-core project: https://svn.apache.org/repos/asf/ibatis/java/ibatis-3/trunk/ibatis-3-core Regards Kai --- Original Nachricht --- Absender: camelContext Datum: 20.10.2009 22:46 > Hi All, > > i am using the iBATIS migration tool to manage my DB SQLs. We have a > convention to create a synonym and grant read access to the application. > > We do have a public stored procedure which does this for us. But i hate to > call it in all my scripts. > > Suppose i have 5 sql script file, i will have to add that single line (fo > calling the SP) to all these files in order to ensure the synonyms are being > created. > > I was wondering if there is a better way to tackle this repetitive stuff :-( > > Is there some kind of post processing configuration that i can do? Or can > you please point me to the tool codebase. If there is a better way to do > this, i would like to try it out and if it is working, would submit it to > the group. > > Thanks > Praveen --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org For additional commands, e-mail: user-java-help@ibatis.apache.org