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?
<transactionManager type="SQLMAP">
<property name="SqlMapConfigResource" value="${ibatis.mapping.config}" />
<property name="SqlMapConfigResource" value="${my.other.ibatis.mapping.config}" />
</transactionManager>
-----Original Message-----
From: Clinton Begin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 05, 2005 10:00 PM
To: [email protected]
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.
Cheers,
Clinton
On 7/5/05, Mitchell, Steven C <[EMAIL PROTECTED]> 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?
