Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.dialect |
This package abstracts the SQL dialect of the underlying database.
|
org.hibernate.dialect.lock | |
org.hibernate.dialect.resolver | |
org.hibernate.engine |
This package contains classes that are "shared" by other packages,
and implementations of some key algorithms.
|
org.hibernate.exception |
This package is a fork of Apache commons-lang nestable exceptions.
|
org.hibernate.impl |
This package contains implementations of the
central Hibernate APIs, especially the
Hibernate session.
|
Modifier and Type | Class and Description |
---|---|
class |
PessimisticLockException
Thrown when a pessimistic locking conflict occurs.
|
class |
QueryTimeoutException
Thrown when a database query timeout occurs.
|
Constructor and Description |
---|
PessimisticLockException(String s,
JDBCException je,
Object entity) |
QueryTimeoutException(String s,
JDBCException je,
String sql) |
Modifier and Type | Method and Description |
---|---|
void |
HSQLDialect.ReadUncommittedLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
void |
PessimisticReadUpdateLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
void |
LockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session)
Acquire an appropriate type of lock on the underlying data that will
endure until the end of the current transaction.
|
void |
UpdateLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
void |
PessimisticWriteUpdateLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
void |
OptimisticLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
void |
SelectLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
void |
PessimisticForceIncrementLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session)
Acquire an appropriate type of lock on the underlying data that will
endure until the end of the current transaction.
|
void |
OptimisticForceIncrementLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
void |
PessimisticWriteSelectLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
void |
PessimisticReadSelectLockingStrategy.lock(Serializable id,
Object version,
Object object,
int timeout,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
JDBCException |
BasicSQLExceptionConverter.convert(SQLException sqlException)
Perform a conversion.
|
Modifier and Type | Method and Description |
---|---|
void |
HibernateIterator.close() |
Modifier and Type | Class and Description |
---|---|
class |
ConstraintViolationException
Implementation of JDBCException indicating that the requested DML operation
resulted in a violation of a defined integrity constraint.
|
class |
DataException
Implementation of JDBCException indicating that evaluation of the
valid SQL statement against the given data resulted in some
illegal operation, mismatched types or incorrect cardinality.
|
class |
GenericJDBCException
Generic, non-specific JDBCException.
|
class |
JDBCConnectionException
Implementation of JDBCException indicating problems with communicating with the
database (can also include incorrect JDBC setup).
|
class |
LockAcquisitionException
Implementation of JDBCException indicating a problem acquiring lock
on the database.
|
class |
SQLGrammarException
Implementation of JDBCException indicating that the SQL sent to the database
server was invalid (syntax error, invalid object references, etc).
|
Modifier and Type | Method and Description |
---|---|
static JDBCException |
JDBCExceptionHelper.convert(SQLExceptionConverter converter,
SQLException sqlException,
String message)
Converts the given SQLException into Hibernate's JDBCException hierarchy, as well as performing
appropriate logging.
|
static JDBCException |
JDBCExceptionHelper.convert(SQLExceptionConverter converter,
SQLException sqlException,
String message,
String sql)
Converts the given SQLException into Hibernate's JDBCException hierarchy, as well as performing
appropriate logging.
|
JDBCException |
SQLStateConverter.convert(SQLException sqlException,
String message,
String sql)
Convert the given SQLException into Hibernate's JDBCException hierarchy.
|
JDBCException |
SQLExceptionConverter.convert(SQLException sqlException,
String message,
String sql)
Convert the given SQLException into Hibernate's JDBCException hierarchy.
|
JDBCException |
CacheSQLStateConverter.convert(SQLException sqlException,
String message,
String sql)
Convert the given SQLException into Hibernate's JDBCException hierarchy.
|
protected JDBCException |
SQLStateConverter.handledNonSpecificException(SQLException sqlException,
String message,
String sql)
Handle an exception not converted to a specific type based on the SQLState.
|
protected JDBCException |
CacheSQLStateConverter.handledNonSpecificException(SQLException sqlException,
String message,
String sql)
Handle an exception not converted to a specific type based on the SQLState.
|
Modifier and Type | Method and Description |
---|---|
void |
IteratorImpl.close() |
Copyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved