Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
2.1
Hi,
I've been following Chapter 8 of Hibernate in Action to try to use a servlet filter to do the open and close of a session. Our application is a portal (portlet container) so it dispatches to other webapps (that contain portlets). In our model, we want each webapp to use its own database (session factory). The filter works for our "master" webapp which is the portal, but when the portal dispatches to other webapps, those filters aren't getting invoked. I'm at a loss to figure out a solution to how I can adapt the examples in 8.1.1 for our use case. Any suggestions are greatly appreciated!
Thanks, Jason