Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateDaoSupport Members

HibernateDaoSupport overview

Public Instance Constructors

HibernateDaoSupport Constructor Initializes a new instance of the HibernateDaoSupport class.

Public Instance Properties

HibernateTemplate Gets or sets the hibernate template.
Session Get a Hibernate Session, either from the current transaction or a new one. The latter is only allowed if the "allowCreate" setting of this object's HibernateTemplate is true.
SessionFactory Gets or sets the session factory to be used by this DAO. Will automatically create a HibernateTemplate for the given SessionFactory.

Public Instance Methods

AfterPropertiesSet (inherited from DaoSupport)Missing <summary> documentation for M:Spring.Dao.Support.DaoSupport.AfterPropertiesSet
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

CheckDaoConfig Check if the hibernate template property has been set.
ConvertHibernateAccessException Convert the given HibernateException to an appropriate exception from the
hierarchy. Will automatically detect wrapped ADO.NET Exceptions and convert them accordingly.
CreateHibernateTemplate Create a HibernateTemplate for the given ISessionFactory.
DoGetSession Get a Hibernate Session, either from the current transaction or a new one. The latter is only allowed if "allowCreate" is true.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
InitDao (inherited from DaoSupport) Concrete subclasses can override this for custom initialization behavior.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
ReleaseSession Close the given Hibernate Session, created via this DAO's SessionFactory, if it isn't bound to the thread.

See Also

HibernateDaoSupport Class | Spring.Data.NHibernate.Generic.Support Namespace