Implementation of Hibernate 3.1's CurrentSessionContext interface
that delegates to Spring's SessionFactoryUtils for providing a
Spring-managed current Session.
Used by Spring's
LocalSessionFactoryBean when told to
expose a transaction-aware SessionFactory.
This CurrentSessionContext implementation can also be specified in custom
SessionFactory setup through the "hibernate.current_session_context_class"
property, with the fully qualified name of this class as value.
author: Juergen Hoeller since: 2.0 See Also: SessionFactoryUtils.doGetSession See Also: LocalSessionFactoryBean.setExposeTransactionAwareSessionFactory |