File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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:
subject: Runtime Connection to datasouce
It's not a secret anymore!