wood burning stoves*
The moose likes Other Application Frameworks and the fly likes Runtime Connection to datasouce Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Runtime Connection to datasouce " Watch "Runtime Connection to datasouce " New topic

Runtime Connection to datasouce

Praveen Chadichal

Joined: Apr 07, 2009
Posts: 21
I dont know in which forum to post this, if this is the wrong forum please move it to the correct and reply ASAP.
There are more than 2 datasources. Connecting to which datasouce is decided at runtime.
Is it possible using Spring Ibatis. Is it possible to map single DAO class to multiple datasources.
Currently we are doing mapping in applicationContext.xml. 1 DAO to one datasource.
If yes how to implement that? Your Quick response in deeply appreciated.
I agree. Here's the link: http://aspose.com/file-tools
subject: Runtime Connection to datasouce
Similar Threads
why do we need java interfaces for DAOs
Using JNDI to look up database
multiple DB connections using hibernate
Spring + JPA + Hibernate and multiple Database connection