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
You can manage it using two different applications.
Or you can configure all your hibernate configuration properties programmatically .