[Missing namespace summary documentation for N:NHibernate]

Classes

  ClassDescription
public classADOException
Wraps exceptions that occur during ADO.NET calls.

public classAssertionFailure
Indicates failure of an assertion: a possible bug in NHibernate

public classCallbackException

public classCriteriaUtil
Contains static declarations from Criteria interface in Hibernate.

public classDuplicateMappingException
public classEmptyInterceptor
public classHibernateException
Any exception that occurs in the O-R persistence layer.

public classIdentityHashCodeProvider
public classInstantiationException
Thrown if Hibernate can't instantiate an entity or component class at runtime.

public classInvalidProxyTypeException
Thrown when an invalid type is specified as a proxy for a class. The exception is also thrown when a class is specified as lazy, but cannot be used as a proxy for itself.

public classLazyInitializationException
A problem occurred trying to lazily initialize a collection or proxy (for example the session was closed) or iterate query results.

public classLockMode
Instances represent a lock mode for a row of a relational database table.

public classMappingException
An exception that usually occurs at configuration time, rather than runtime, as a result of something screwy in the O-R mappings

public classNHibernateUtil
Provides access to the full range of NHibernate built-in types. IType instances may be used to bind values to query parameters. Also a factory for new Blobs and Clobs.

public classNonUniqueObjectException
This exception is thrown when an operation would break session-scoped identity. This occurs if the user tries to associate two different instances of the same class with a particular identifier, in the scope of a single ISession.

public classNonUniqueResultException
Thrown when the application calls IQuery.UniqueResult() and the query returned more than one result. Unlike all other NHibernate exceptions, this one is recoverable!

public classObjectDeletedException
Thrown when the user tries to pass a deleted object to the ISession.

public classObjectNotFoundException
Thrown when ISession.Load() fails to select a row with the given primary key (identifier value). This exception might not be thrown when Load() is called, even if there was no row on the database, because Load() returns a proxy if possible. Applications should use ISession.Get() to test if a row exists in the database.

public classPersistentObjectException
Thrown when the user passes a persistent instance to a ISession method that expects a transient instance

public classPropertyAccessException
A problem occurred accessing a property of an instance of a persistent class by reflection

public classPropertyNotFoundException
Indicates that an expected getter or setter method could not be found on a class

public classPropertyValueException
public classQueryException
A problem occurred translating a Hibernate query to SQL due to invalid query syntax, etc.

public classReplicationMode
Represents a replication strategy

public classStaleObjectStateException
Thrown when a version number check failed, indicating that the ISession contained stale data (when using long transactions with versioning).

public classStaleStateException
public classTransactionException
Indicated that a transaction could not be begun, committed, or rolled back

public classTransientObjectException
Throw when the user passes a transient instance to a ISession method that expects a persistent instance

public classUnresolvableObjectException
Thrown when Hibernate could not resolve an object by id, especially when loading an association.

public classWrongClassException
Thrown when ISession.Load() selects a row with the given primary key (identifier value) but the row's discriminator value specifies a different subclass from the one requested

Interfaces

  InterfaceDescription
public interfaceICriteria
Criteria is a simplified API for retrieving entities by composing NHibernate.Expression objects.

public interfaceIDatabinder
Provides XML marshalling for classes registered with a SessionFactory

public interfaceIFilter
Type definition of Filter. Filter defines the user's view into enabled dynamic filters, allowing them to set filter parameter values.

public interfaceIInterceptor
Allows user code to inspect and/or change property values before they are written and after they are read from the database

public interfaceIMultiQuery
Combines sevaral queries into a single database call

public interfaceIQuery
An object-oriented representation of a NHibernate query.

public interfaceISession
The main runtime interface between a Java application and Hibernate. This is the central API class abstracting the notion of a persistence service.

public interfaceISessionFactory
Creates ISessions.

public interfaceISQLQuery
public interfaceITransaction
Allows the application to define units of work, while maintaining abstraction from the underlying transaction implementation

Enumerations

  EnumerationDescription
public enumerationConnectionReleaseMode
public enumerationFetchMode
Represents a fetching strategy.

public enumerationFlushMode
Represents a flushing strategy.