ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mitchell, Steven C" <Steven.Mitch...@umb.com>
Subject RE: Multiple Database Best Practices
Date Wed, 06 Jul 2005 12:53:39 GMT
How does that work?  Looking at the DTD there can be only one
TransactionManager.  Multiple property elements are allowed, but does
iBatis support multiple "SqlMapConfigResource" properties within a
<transactionManager type="SQLMAP">
    <property name="SqlMapConfigResource"
value="${ibatis.mapping.config}" />
    <property name="SqlMapConfigResource"
value="${my.other.ibatis.mapping.config}" />

-----Original Message-----
From: Clinton Begin [mailto:clinton.begin@gmail.com] 
Sent: Tuesday, July 05, 2005 10:00 PM
To: user-java@ibatis.apache.org
Subject: Re: Multiple Database Best Practices

You're right about the multiple SqlMapConfig.xml files, but you need
only one dao.xml file, as DAO supports multiple datasources.


On 7/5/05, Mitchell, Steven C <Steven.Mitchell@umb.com> wrote: 

Is there a recommended best practice for handling an application that
connects to multiple databases?  Is it as simple as maintaining multiple
sets of dao.xml and sql-config.xml files?

View raw message