Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateDaoSupport.CreateHibernateTemplate Method

Create a HibernateTemplate for the given ISessionFactory.

[Visual Basic]
Protected Overridable Sub CreateHibernateTemplate( _
   ByVal sessionFactory As ISessionFactory _
protected virtual HibernateTemplate CreateHibernateTemplate(
   ISessionFactory sessionFactory


Only invoked if populating the DAO with a ISessionFactory reference!

Can be overridden in subclasses to provide a HibernateTemplate instance with different configuration, or a custom HibernateTemplate subclass.

See Also

HibernateDaoSupport Class | Spring.Data.NHibernate.Support Namespace