| CannotAcquireLockException
| Exception thrown on failure to aquire a lock during an update,
for example during a "select for update" statement. |
code | html |
| CannotSerializeTransactionException
| Exception thrown on failure to complete a transaction in serialized mode
due to update conflicts. |
code | html |
| CleanupFailureDataAccessException
| Exception thrown when we couldn't cleanup after a data access operation,
but the actual operation went OK. |
code | html |
| ConcurrencyFailureException
| Exception thrown on concurrency failure. |
code | html |
| DataAccessResourceFailureException
| Data access exception thrown when a resource fails completely:
for example, if we can't connect to a database using JDBC. |
code | html |
| DataIntegrityViolationException
| Exception thrown when an attempt to insert or update data
results in violation of an integrity constraint. |
code | html |
| DataRetrievalFailureException
| Exception thrown if certain expected data could not be retrieved, e.g. |
code | html |
| DeadlockLoserDataAccessException
| Generic exception thrown when the current process was
a deadlock loser, and its transaction rolled back. |
code | html |
| EmptyResultDataAccessException
| Data access exception thrown when a result was expected to have at least
one row (or element) but zero rows (or elements) were actually returned. |
code | html |
| IncorrectResultSizeDataAccessException
| Data access exception thrown when a result was not of the expected size,
for example when expecting a single row but getting 0 or more than 1 rows. |
code | html |
| IncorrectUpdateSemanticsDataAccessException
| Data access exception thrown when something unintended appears to have
happened with an update, but the transaction hasn't already been rolled back. |
code | html |
| InvalidDataAccessApiUsageException
| Exception thrown on incorrect usage of the API, such as failing to
"compile" a query object that needed compilation before execution. |
code | html |
| InvalidDataAccessResourceUsageException
| Root for exceptions thrown when we use a data access resource incorrectly. |
code | html |
| NonTransientDataAccessResourceException
| Data access exception thrown when a resource fails completely and the failure is permanent. |
code | html |
| OptimisticLockingFailureException
| Exception thrown on an optimistic locking violation. |
code | html |
| PermissionDeniedDataAccessException
| Exception thrown when the underlying resource denied a permission
to access a specific element, such as a specific database table. |
code | html |
| PessimisticLockingFailureException
| Exception thrown on a pessimistic locking violation. |
code | html |
| RecoverableDataAccessException
| Data access exception thrown when a previously failed operation might be able to succeed if the
application performs some recovery steps and retries the entire transaction or in the case of a distributed
transaction, the transaction branch. |
code | html |
| TransientDataAccessResourceException
| Data access exception thrown when a resource fails temporarily and the operation can be retried. |
code | html |
| TypeMismatchDataAccessException
| Exception thrown on mismatch between Java type and database type:
for example on an attempt to set an object of the wrong type
in an RDBMS column. |
code | html |