Uses of Package
org.springframework.dao
Package
Description
Exception hierarchy enabling sophisticated error handling independent
of the data access approach in use.
Support classes for DAO implementations,
providing miscellaneous utility methods.
-
ClassDescriptionException thrown on concurrency failure.Root of the hierarchy of data access exceptions discussed in Expert One-On-One J2EE Design and Development.Exception thrown when an attempt to insert or update data results in violation of an integrity constraint.Exception thrown if certain expected data could not be retrieved, e.g.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.Root for exceptions thrown when we use a data access resource incorrectly.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.Data access exception thrown when a resource fails completely and the failure is permanent.Exception thrown on a pessimistic locking violation.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.
-
ClassDescriptionRoot of the hierarchy of data access exceptions discussed in Expert One-On-One J2EE Design and Development.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.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.