On Wed, 26 Sep 2012 03:57:09 -0300, esper <marin_ma...@yahoo.com> wrote:
Thanks for the reply Taha! It is indeed very useful. I still find it hard to believe that you can't load/rebuild the entire different hibernate session with Tapestry. No matter the time it takes.
I'm sorry, but you're completely wrong here. As Taha said, tapestry-hibernate doesn't support multiple databases. But you can use Tapestry and Hibernate together without using tapestry-hibernate. Tapestry itself doesn't mandate how you should use Hibernate (or any other framework.
said, I only need those databases to work one at the time. Somehow I imagined it like this: - create different hibernate configuration for each database - create a session helper to execute something like this sessionFactory = new Configuration().configure().buildSessionFactory(); - load the session object back to tapestry But, can it be done?
Yes. -- Thiago --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org