Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 56286 invoked from network); 11 Mar 2006 07:57:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Mar 2006 07:57:24 -0000 Received: (qmail 33852 invoked by uid 500); 11 Mar 2006 07:57:22 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 33821 invoked by uid 500); 11 Mar 2006 07:57:22 -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 33808 invoked by uid 99); 11 Mar 2006 07:57:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Mar 2006 23:57:22 -0800 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_NEUTRAL,X_PRIORITY_HIGH X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 62.241.4.129 is neither permitted nor denied by domain of gianluca.gaiotto@gmail.com) Received: from [62.241.4.129] (HELO relay-pt3.poste.it) (62.241.4.129) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Mar 2006 23:57:21 -0800 Received: from [10.4.194.154] (217.12.186.254) by relay-pt3.poste.it (7.2.063) (authenticated as gianluca.gaiotto@poste.it) id 433CF3D8003488C4 for user-java@ibatis.apache.org; Sat, 11 Mar 2006 08:56:59 +0100 Message-ID: <441282CA.1060104@gmail.com> Date: Sat, 11 Mar 2006 08:56:58 +0100 From: Gianluca Gaiotto User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: user-java@ibatis.apache.org Subject: declarative - db schema X-Priority: 1 (Highest) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ciao, can I specify the database schema in sqlMap, or elsewhere, but in a declarative way (without hard-coding it)? The problem is that we have several environments stages (dev, integration, test, production) , and therefore I have to configure the right schema for each environment... And I don't want to add the schema name prefix in front of each table name, but configuring a default db schema somewhere in an iBatis config file (and to have several config files, one for each environments). Thanks -Gianluca