Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

LocalSessionFactoryObject.HibernateProperties Property

Set NHibernate configuration properties, like "hibernate.dialect".

[Visual Basic]
Public Property HibernateProperties() As IDictionary
   Public Get
   End Get
   Public Set
   End Set
End Property
public IDictionary HibernateProperties { public get; public set; }

Property Value

The hibernate properties.


Can be used to override values in a NHibernate XML config file, or to specify all necessary properties locally.

Note: Do not specify a transaction provider here when using Spring-driven transactions. It is also advisable to omit connection provider settings and use a Spring-set IDbProvider instead.

See Also

LocalSessionFactoryObject Class | Spring.Data.NHibernate Namespace