Hi If it is a new application, you can try new multi-tenancy in hibernate or JPA.
On Sep 25, 2012, at 5:06 PM, esper wrote: > Hi, > > here's the problem that I'm facing. > I have a project with several databases (separate databases but the schemas > are the same!). > I want to decide which database to use when the user authenticates. That > user could use *only one database at the time* but he could switch between > them if he wants. > > How to tell tapestry and hibernate that? It's not the authentication > explanation I want - different hibernate configuration is what I'm > interested in. > > Can someone assist me with this? > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Again-with-the-tapestry-hibernate-and-switching-the-database-tp5716477.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org