PlatformTransactionManager implementation for a single Hibernate SessionFactory. Binds a Hibernate Session from the specified factory to the thread, potentially allowing for one thread Session per factory
For a list of all members of this type, see HibernateTransactionManager Members .
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Supports custom isolation levels at the start of the transaction , and timeouts that get applied as appropriate Hibernate query timeouts. To support the latter, application code must either use
HibernateTemplate(which by default applies the timeouts) or call
SessionFactoryUtils.applyTransactionTimeoutfor each created Hibernate Query object.
Note that you can specify a Spring IDbProvider instance which if shared with a corresponding instance of AdoTemplate will allow for mixing ADO.NET/NHibernate operations within a single transaction.
Assembly: Spring.Data.NHibernate21 (in Spring.Data.NHibernate21.dll)