-
Jun 4th, 2007, 01:12 PM
#1
Can Spring use my dataSources?
Hi, all
I have to get information from different DB; I get user name and password for each DB from different file, so I already create a map of dataSources, such as, Map<String, BasicDataSource> dataSources
But I found I have to set a DataSource for my transactionManager.
<bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSou rceTransactionManager">
</bean>
Is there a good way to let spring using my dataSources?
Thanks.
Arden
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules