Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connect to database retrieved at runtime using spring + hibernate  RSS feed

 
NagendraRaghu kumar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using spring + hibernate transaction manager in the my project. Initially I am connecting to main database and retrieving several projects in a company, say if there are 200 projects each project will have database associated with it, I want to connect to database associated with the project that is selected by user at run time.

Is there any ideal way to connect to database at run time?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!