ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: Multiple Data Sources
Date Fri, 18 Mar 2005 19:43:10 GMT
Yes.  You can specify multiple DAO contexts, each which contains a
transaction manager and a bunch of DAOs.  The DAOs will be bound to
the transaction manager in the same context.

Clinton


On Fri, 18 Mar 2005 12:57:53 -0600, Rafiq, Adnan <arafiq@carreker.com> wrote:
> I am also using the iBATIS DAO framework. Can we specify two transaction
> managers in the dao.xml file?
> 
> -----Original Message-----
> From: Fabrizio Gianneschi
> [mailto:fabrizio.gianneschi@gruppoatlantis.com]
> Sent: Friday, March 18, 2005 11:30 AM
> To: ibatis-user-java@incubator.apache.org
> Subject: R: Multiple Data Sources
> 
> I think you should configure (and use) two separate SqlMap instances, with
> their own xml configuration files.
> 
> Fabrizio
> 
> -----Messaggio originale-----
> Da: Rafiq, Adnan [mailto:arafiq@carreker.com]
> Inviato: venerdì 18 marzo 2005 17.58
> A: 'ibatis-user-java@incubator.apache.org'
> Oggetto: Multiple Data Sources
> 
> 
> My application requires to connect to two databases (configured as
> DataSource objects). How can iBatis SQLMaps be cofigured to work with two
> databases within the same application?
>

Mime
View raw message