Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Runtime Connection to datasouce  RSS feed

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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!