# Uses of Package
org.springframework.dao

Packages that use org.springframework.dao
Package
Description
org.springframework.dao
Exception hierarchy enabling sophisticated error handling independent of the data access approach in use.
org.springframework.dao.support
Support classes for DAO implementations, providing miscellaneous utility methods.

Classes in org.springframework.dao used by org.springframework.dao
Class
Description
ConcurrencyFailureException
Exception thrown on various data access concurrency failures.
DataAccessException
Root of the hierarchy of data access exceptions discussed in Expert One-On-One J2EE Design and Development.
DataIntegrityViolationException
Exception thrown when an attempt to execute an SQL statement fails to map the given data, typically but no limited to an insert or update data results in violation of an integrity constraint.
DataRetrievalFailureException
Exception thrown if certain expected data could not be retrieved, for example, when looking up specific data via a known identifier.
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.
InvalidDataAccessResourceUsageException
Root for exceptions thrown when we use a data access resource incorrectly.
NonTransientDataAccessException
Root of the hierarchy of data access exceptions that are considered non-transient - where a retry of the same operation would fail unless the cause of the Exception is corrected.
NonTransientDataAccessResourceException
Data access exception thrown when a resource fails completely and the failure is permanent.
PessimisticLockingFailureException
Exception thrown on a pessimistic locking violation.
TransientDataAccessException
Root of the hierarchy of data access exceptions that are considered transient - where a previously failed operation might be able to succeed when the operation is retried without any intervention by application-level functionality.
Classes in org.springframework.dao used by org.springframework.dao.support
Class
Description
DataAccessException
Root of the hierarchy of data access exceptions discussed in Expert One-On-One J2EE Design and Development.
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.
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.