I have been trying to find a solution but with no luck.
I have an Java application (Tapestry) and Hibernate to connect to database. Now there are 3 companies that want to use the same instance of application but different database.
What I have to do is depending on company that accesses the app use different database.