Hello,
I'm trying to setup the OpenSessionInViewInterceptor using hibernate, velocity and springs Transactional annotations. I have it working with the SimpleUrlHandlerMapping but I also need to open a hibernate session in HttpSessionListener.sessionDestroyed and close it at the end of the method. Do I get the threadLocal at the end of the sessionDestroyed method and close it manually? Do I manually create a TransactionSychronizationManger to wrap my method calls? Could someone please give me an example or point me in the right direction of how to close the session?

Thanks in advance,
Michael