Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 71292 invoked from network); 2 Feb 2007 04:28:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2007 04:28:47 -0000 Received: (qmail 89170 invoked by uid 500); 2 Feb 2007 04:28:47 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 89154 invoked by uid 500); 2 Feb 2007 04:28:47 -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 89142 invoked by uid 99); 2 Feb 2007 04:28:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 20:28:47 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of brandon.goodin@gmail.com designates 64.233.184.235 as permitted sender) Received: from [64.233.184.235] (HELO wr-out-0506.google.com) (64.233.184.235) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 20:28:38 -0800 Received: by wr-out-0506.google.com with SMTP id i7so595055wra for ; Thu, 01 Feb 2007 20:28:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Xf9272ckOlsXrES+C9QYHbve42XJ0VblhBOtZqAQdWzziABA6PLvN04611pV91m0eVjM/36H/pcQcoYDu6PMMjNFBZeYPAV+drAsi84SnyuV/ONYmQDaPp59dSrxO7ICW/mmVwD6eSoJ66y0XUV69+Dha/0eNZlNkxUzdC3xA48= Received: by 10.115.54.1 with SMTP id g1mr248071wak.1170390497395; Thu, 01 Feb 2007 20:28:17 -0800 (PST) Received: by 10.115.54.10 with HTTP; Thu, 1 Feb 2007 20:28:17 -0800 (PST) Message-ID: <2fe5ef5b0702012028s34233249scd86d5c94c1bab0c@mail.gmail.com> Date: Thu, 1 Feb 2007 22:28:17 -0600 From: "Brandon Goodin" To: user-java@ibatis.apache.org, Konus Subject: Re: two db In-Reply-To: <171530500.20070202023816@i-c.com.ua> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4834_20478570.1170390497368" References: <171530500.20070202023816@i-c.com.ua> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_4834_20478570.1170390497368 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline You can load up multiple sqlmaps easily on your own without the DAO. If you are looking for something more robust check out Spring. You can configure multiple datasources, the ibatis sqlmap, and your daos in spring. Anyway, it's up to you really. iBATIS DAO doesn't add a whole lot to the equation that isn't easily done on your own. Brandon On 2/1/07, Rogov Andrey wrote: > > > I need to make one part of sqlMap objects work with MS SQL and > the other - with Oracle. > If DAO is deprecated, can I set up different contexts within > SQLMapConfig? > If not, how do I better do it? > > -- > regards, > Andrey mailto:konus@i-c.com.ua > > > ------=_Part_4834_20478570.1170390497368 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline You can load up multiple sqlmaps easily on your own without the DAO. If you are looking for something more robust check out Spring. You can configure multiple datasources, the ibatis sqlmap, and your daos in spring. Anyway, it's up to you really. iBATIS DAO doesn't add a whole lot to the equation that isn't easily done on your own.

Brandon

On 2/1/07, Rogov Andrey <konus@i-c.com.ua> wrote:

I need to make one part of sqlMap objects work with MS SQL and
the other - with Oracle.
If DAO is deprecated, can I set up different contexts within
SQLMapConfig?
If not, how do I better do it?

--
regards,
Andrey     mailto:konus@i-c.com.ua



------=_Part_4834_20478570.1170390497368--