buildHibernateSessionManager

The session manager manages sessions on a per-thread/per-request basis. Any active transaction will be rolled
back at thread cleanup time. The thread is
cleaned up automatically in a Tapestry web application.