This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamic Data Sources in Hibernate  RSS feed

 
Joset Zamora
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm writing an application that will connect to several databases of different types (i.e. MySQL, Oracle, etc.). I want to keep the connection settings in a database such as jdbc string, username, password, driver string for each. Is it possible to create a session in hibernate based from the retrieved connection settings considering that these settings must go in hibernate.cfg.xml? Thanks.

Eradicus
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!