Database switching in running application ?
sushant
Moderator
moderator
Expertise:
--
Posts:
158
Points:
--
From:
--, --

Database switching in running application ?





sushant
Moderator
moderator
Expertise:
--
Posts:
158
Points:
--
From:
--, --

we are having list of databases in UI . I m selecting one and wants to switch to that database. How could i do this ?

What i m thinking of " changing the database name from the hibernate configuration file and needs to restart the server " ? Is this is a good approach to follow for the above requirement ?

Technology : Java Frameworks ; Spring and Hibernate

hablu
Administrator
admin
Expertise:
--
Posts:
407
Points:
--
From:
--, --

You can manage it using two different applications.

Or you can configure all your hibernate configuration properties programmatically .

Similar Questions
What are the differences between beanfactory and application context container ?

Remember me using spring security

What happened if we directly request for a resource from the browser in SpringMVC?

Spring remember me

What are the bean loading types in spring ?