Library:Hibernate
Version:3.1.3
Compatibility:JDK 1.4
Exceptions in library Hibernate.
NamePackageDescription
AssertionFailureorg.hibernateIndicates failure of an assertion: a possible bug in Hibernate.
CacheExceptionorg.hibernate.cacheSomething went wrong in the cache
CallbackExceptionorg.hibernateShould be thrown by persistent objects from Lifecycle or Interceptor callbacks.
ConstraintViolationExceptionorg.hibernate.exceptionImplementation of JDBCException indicating that the requested DML operation resulted in a violation of a defined integrity constraint.
DataExceptionorg.hibernate.exceptionImplementation of JDBCException indicating that evaluation of the valid SQL statement against the given data resulted in some illegal operation, mismatched types or incorrect cardinality.
DetailedSemanticExceptionorg.hibernate.hql.astThrown when a call to the underlying Hibernate engine fails, indicating some form of semantic exception (e.g.
DuplicateMappingExceptionorg.hibernateNo description provided.
GenericJDBCExceptionorg.hibernate.exceptionGeneric, non-specific JDBCException.
HibernateExceptionorg.hibernateAny exception that occurs inside the persistence layer or JDBC driver.
IdentifierGenerationExceptionorg.hibernate.idThrown by IdentifierGenerator implementation class when ID generation fails.
InstantiationExceptionorg.hibernateThrown if Hibernate can't instantiate an entity or component class at runtime.
InvalidPathExceptionorg.hibernate.hql.astException thrown when an invalid path is found in a query.
JDBCConnectionExceptionorg.hibernate.exceptionImplementation of JDBCException indicating problems with communicating with the database (can also include incorrect JDBC setup).
JDBCExceptionorg.hibernateWraps an SQLException.
LazyInitializationExceptionorg.hibernateIndicates access to unfetched data outside of a session context.
LockAcquisitionExceptionorg.hibernate.exceptionImplementation of JDBCException indicating a problem acquiring lock on the database.
MappingExceptionorg.hibernateAn exception that usually occurs at configuration time, rather than runtime, as a result of something screwy in the O-R mappings.
NestableExceptionorg.hibernate.exceptionThe base class of all exceptions which can contain other exceptions.
NestableRuntimeExceptionorg.hibernate.exceptionThe base class of all runtime exceptions which can contain other exceptions.
NoCachingEnabledExceptionorg.hibernate.cacheImplementation of NoCachingEnabledException.
NonUniqueObjectExceptionorg.hibernateThis exception is thrown when an operation would break session-scoped identity.
NonUniqueResultExceptionorg.hibernateThrown when the application calls Query.uniqueResult() and the query returned more than one result.
ObjectDeletedExceptionorg.hibernateThrown when the user tries to do something illegal with a deleted object.
ObjectNotFoundExceptionorg.hibernateThrown when Session.load() fails to select a row with the given primary key (identifier value).
PersistentObjectExceptionorg.hibernateThrown when the user passes a persistent instance to a Session method that expects a transient instance.
PropertyAccessExceptionorg.hibernateA problem occurred accessing a property of an instance of a persistent class by reflection, or via CGLIB.
PropertyNotFoundExceptionorg.hibernateIndicates that an expected getter or setter method could not be found on a class.
PropertyValueExceptionorg.hibernateThrown when the (illegal) value of a property can not be persisted.
QueryExceptionorg.hibernateA problem occurred translating a Hibernate query to SQL due to invalid query syntax, etc.
QuerySyntaxExceptionorg.hibernate.hql.astException thrown when there is a syntax error in the HQL.
SerializationExceptionorg.hibernate.typeThrown when a property cannot be serializaed/deserialized
SessionExceptionorg.hibernateThrown when the user calls a method of a Session that is in an inappropropriate state for the given call (for example, the the session is closed or disconnected).
SQLGrammarExceptionorg.hibernate.exceptionImplementation of JDBCException indicating that the SQL sent to the database server was invalid (syntax error, invalid object references, etc).
StaleObjectStateExceptionorg.hibernateA StaleStateException that carries information about a particular entity instance that was the source of the failure.
StaleStateExceptionorg.hibernateThrown when a version number or timestamp check failed, indicating that the Session contained stale data (when using long transactions with versioning).
TransactionExceptionorg.hibernateIndicates that a transaction could not be begun, committed or rolled back.
TransientObjectExceptionorg.hibernateThrown when the user passes a transient instance to a Session method that expects a persistent instance.
UnresolvableObjectExceptionorg.hibernateThrown when Hibernate could not resolve an object by id, especially when loading an association.
ValidationFailureorg.hibernate.classicThrown from Validatable.validate() when an invariant was violated.
WrongClassExceptionorg.hibernateThrown when Session.load() selects a row with the given primary key (identifier value) but the row's discriminator value specifies a subclass that is not assignable to the class requested by the user.
Search