Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Runtime Connection to datasouce

 
Praveen Chadichal
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic