1

I have JSF + Hibernate app. During runtime, i need to change database, to which user is connected. For example, User can manually switch databases in my app, so app is connected to the chosen one. I read about Hibernate Connection Provider. Can it help me?

Yurish
  • 1,307
  • 1
  • 25
  • 44
  • possible duplicate of [Hibernate configuration on runtime](http://stackoverflow.com/questions/1341871/hibernate-configuration-on-runtime) – Simon Forsberg Jun 29 '14 at 10:51
  • need answer of it https://stackoverflow.com/questions/53297213/how-to-switch-database-on-runtime-in-springboot-and-springdatajpa – Irfan Nasim Nov 14 '18 at 11:30

1 Answers1

1

The issue has been discussed before.

Community
  • 1
  • 1
n002213f
  • 7,805
  • 13
  • 69
  • 105