Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 16125 invoked from network); 28 Nov 2006 16:05:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2006 16:05:55 -0000 Received: (qmail 17670 invoked by uid 500); 28 Nov 2006 16:06:01 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 17657 invoked by uid 500); 28 Nov 2006 16:06:01 -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 17646 invoked by uid 99); 28 Nov 2006 16:06:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Nov 2006 08:06:01 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Nov 2006 08:05:48 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1Gp5Sa-0002fs-1b for user-java@ibatis.apache.org; Tue, 28 Nov 2006 08:05:28 -0800 Message-ID: <7581854.post@talk.nabble.com> Date: Tue, 28 Nov 2006 08:05:28 -0800 (PST) From: meenu_24 To: user-java@ibatis.apache.org Subject: Ibatis - datasource config MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: meenakshi_ramanan@yahoo.co.in X-Virus-Checked: Checked by ClamAV on apache.org Hi all, In SqlMapConfig.xml file can I specify my class which implements datasource in element. This is a requirement in our application as we have made a failover solution for datasource wich is implemented by the class, and this class has to be reffered in SqlMapConfig.xml so that ibatis uses a proper datasource every time. The failover solution is if one datasource fails other takes over. How to specify this class in transaction manager. Thanks for your time. thanks Meena -- View this message in context: http://www.nabble.com/Ibatis---datasource-config-tf2719174.html#a7581854 Sent from the iBATIS - User - Java mailing list archive at Nabble.com.