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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > Sent: Friday, March 18, 2005 11:30 AM > To: [email protected] > 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:[EMAIL PROTECTED] > Inviato: venerd� 18 marzo 2005 17.58 > A: '[email protected]' > 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? >

