| BadSqlGrammarException |
Exception thrown when SQL specified is invalid. |
| CannotAcquireLockException |
Exception thrown on failure to aquire a lock during an update,
for example during a "select for update" statement. |
| CannotCreateRecordException |
Exception thrown when the creating of a CCI Record failed
for connector-internal reasons. |
| CannotGetCciConnectionException |
Fatal exception thrown when we can't connect to an EIS using CCI. |
| CannotGetJdbcConnectionException |
Fatal exception thrown when we can't connect to an RDBMS using JDBC. |
| CannotSerializeTransactionException |
Exception thrown on failure to complete a transaction in serialized mode
due to update conflicts. |
| CciOperationNotSupportedException |
Exception thrown when the connector doesn't support a specific CCI operation. |
| CleanupFailureDataAccessException |
Exception thrown when we couldn't cleanup after a data access operation,
but the actual operation went OK. |
| ConcurrencyFailureException |
Exception thrown on concurrency failure. |
| DataAccessResourceFailureException |
Data access exception thrown when a resource fails completely:
for example, if we can't connect to a database using JDBC. |
| DataIntegrityViolationException |
Exception thrown when an attempt to insert or update data
results in violation of an integrity constraint. |
| DataRetrievalFailureException |
Exception thrown if certain expected data could not be retrieved, e.g. |
| DataSourceLookupFailureException |
Exception to be thrown by a DataSourceLookup implementation,
indicating that the specified DataSource could not be obtained. |
| DeadlockLoserDataAccessException |
Generic exception thrown when the current process was
a deadlock loser, and its transaction rolled back. |
| DuplicateKeyException |
Exception thrown when an attempt to insert or update data
results in violation of an primary key or unique constraint. |
| 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. |
| HibernateJdbcException |
Hibernate-specific subclass of UncategorizedDataAccessException,
for JDBC exceptions that Hibernate wrapped. |
| HibernateObjectRetrievalFailureException |
Hibernate-specific subclass of ObjectRetrievalFailureException. |
| HibernateOptimisticLockingFailureException |
Hibernate-specific subclass of ObjectOptimisticLockingFailureException. |
| HibernateQueryException |
Hibernate-specific subclass of InvalidDataAccessResourceUsageException,
thrown on invalid HQL query syntax. |
| HibernateSystemException |
Hibernate-specific subclass of UncategorizedDataAccessException,
for Hibernate system errors that do not match any concrete
org.springframework.dao exceptions. |
| IncorrectResultSetColumnCountException |
Data access exception thrown when a result set did not have the correct column count,
for example when expecting a single column but getting 0 or more than 1 columns. |
| 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. |
| IncorrectUpdateSemanticsDataAccessException |
Data access exception thrown when something unintended appears to have
happened with an update, but the transaction hasn't already been rolled back. |
| InvalidDataAccessApiUsageException |
Exception thrown on incorrect usage of the API, such as failing to
"compile" a query object that needed compilation before execution. |
| InvalidDataAccessResourceUsageException |
Root for exceptions thrown when we use a data access resource incorrectly. |
| InvalidResultSetAccessException |
Exception thrown when a ResultSet has been accessed in an invalid fashion. |
| JdbcUpdateAffectedIncorrectNumberOfRowsException |
Exception thrown when a JDBC update affects an unexpected number of rows. |
| JdoObjectRetrievalFailureException |
JDO-specific subclass of ObjectRetrievalFailureException. |
| JdoOptimisticLockingFailureException |
JDO-specific subclass of ObjectOptimisticLockingFailureException. |
| JdoResourceFailureException |
JDO-specific subclass of DataAccessResourceFailureException. |
| JdoSystemException |
JDO-specific subclass of UncategorizedDataAccessException,
for JDO system errors that do not match any concrete
org.springframework.dao exceptions. |
| JdoUsageException |
JDO-specific subclass of InvalidDataAccessApiUsageException. |
| JpaObjectRetrievalFailureException |
JPA-specific subclass of ObjectRetrievalFailureException. |
| JpaOptimisticLockingFailureException |
JPA-specific subclass of ObjectOptimisticLockingFailureException. |
| JpaSystemException |
JPA-specific subclass of UncategorizedDataAccessException,
for JPA system errors that do not match any concrete
org.springframework.dao exceptions. |
| LobRetrievalFailureException |
Exception to be thrown when a LOB could not be retrieved. |
| NonTransientDataAccessResourceException |
Data access exception thrown when a resource fails completely and the failure is permanent. |
| ObjectOptimisticLockingFailureException |
Exception thrown on an optimistic locking violation for a mapped object. |
| ObjectRetrievalFailureException |
Exception thrown if a mapped object could not be retrieved via its identifier. |
| OptimisticLockingFailureException |
Exception thrown on an optimistic locking violation. |
| PermissionDeniedDataAccessException |
Exception thrown when the underlying resource denied a permission
to access a specific element, such as a specific database table. |
| PessimisticLockingFailureException |
Exception thrown on a pessimistic locking violation. |
| RecordTypeNotSupportedException |
Exception thrown when the creating of a CCI Record failed because
the connector doesn't support the desired CCI Record type. |
| SQLWarningException |
Exception thrown when we're not ignoring java.sql.SQLWarning SQLWarnings. |
| SqlXmlFeatureNotImplementedException |
Exception thrown when the underlying implementation does not support the
requested feature of the API. |
| TransientDataAccessResourceException |
Data access exception thrown when a resource fails temporarily
and the operation can be retried. |
| 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. |
| UncategorizedDataAccessException |
Normal superclass when we can't distinguish anything more specific
than "something went wrong with the underlying resource": for example,
a SQLException from JDBC we can't pinpoint more precisely. |
| UncategorizedSQLException |
Exception thrown when we can't classify a SQLException into
one of our generic data access exceptions. |