Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Runtime Connection to datasouce

Praveen Chadichal
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