• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic Data Sources in Hibernate

 
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