ExposeNativeSession Property
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateTemplate.ExposeNativeSession Property

Set whether to expose the native Hibernate Session to IHibernateCallback code. Default is "false": a Session proxy will be returned, suppressing

calls and automatically applying query cache settings and transaction timeouts.

[Visual Basic]
Public Overrides Property ExposeNativeSession() As Boolean
   Public Get
   End Get
   Public Set
   End Set
End Property
public override bool ExposeNativeSession { public get; public set; }

Property Value

true if expose native session; otherwise, false.

See Also

HibernateTemplate Class | Spring.Data.NHibernate Namespace