So can I just use the OpenSessionInViewFilter class from the Spring framework without having to implement and/or use the complete framework?
I'm giving a demo today of the web application so I'm taking out all my hibernate session closes, and I'll just tiptoe around the app to make sure I don't accidentally screw up and have two sessions trying to access a Hibernate object :) Thanks, - Brent On 4/14/05, Leszek Gawron <[EMAIL PROTECTED]> wrote: > Brent Johnson wrote: > > I searched the Wiki for "servletfilter", "servlet-filter", "servlet > > filter" and didn't find anything. Is there an example of closing > > Hibernate sessions using a servlet filter on the Wiki? > > > > I checked out the link someone posted earlier, and it describes using > > a class in the Spring framework to handle closing the sessions, along > > with a filter mapping. > And this is exactly what you're looking for > > -- > Leszek Gawron [EMAIL PROTECTED] > IT Manager MobileBox sp. z o.o. > +48 (61) 855 06 67 http://www.mobilebox.pl > mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
