Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateTransactionManager.DoCleanupAfterCompletion Method

Cleanup resources after transaction completion.

[Visual Basic]
Protected Overrides Sub DoCleanupAfterCompletion( _
   ByVal transaction As Object _
protected override void DoCleanupAfterCompletion(
   object transaction


Transaction object returned by DoGetTransaction.


Note    This implemenation unbinds the SessionFactory and DbProvider from thread local storage and closes the ISession.

Called after DoCommit and DoRollback execution on any outcome.

Should not throw any exceptions but just issue warnings on errors.

See Also

HibernateTransactionManager Class | Spring.Data.NHibernate Namespace