Package | Description |
---|---|
org.springframework.dao |
Exception hierarchy enabling sophisticated error handling independent
of the data access approach in use.
|
org.springframework.orm |
Root package for Spring's O/R Mapping integration classes.
|
org.springframework.orm.hibernate5 |
Package providing integration of
Hibernate 5.x
with Spring concepts.
|
org.springframework.orm.jpa |
Package providing integration of JPA (Java Persistence API) with Spring concepts.
|
Modifier and Type | Class and Description |
---|---|
class |
CannotAcquireLockException
Exception thrown on failure to acquire a lock during an update,
for example during a "select for update" statement.
|
class |
CannotSerializeTransactionException
Exception thrown on failure to complete a transaction in serialized mode
due to update conflicts.
|
class |
ConcurrencyFailureException
Exception thrown on various data access concurrency failures.
|
class |
DeadlockLoserDataAccessException
Generic exception thrown when the current process was
a deadlock loser, and its transaction rolled back.
|
class |
OptimisticLockingFailureException
Exception thrown on an optimistic locking violation.
|
class |
PessimisticLockingFailureException
Exception thrown on a pessimistic locking violation.
|
class |
QueryTimeoutException
Exception to be thrown on a query timeout.
|
class |
TransientDataAccessResourceException
Data access exception thrown when a resource fails temporarily
and the operation can be retried.
|
Modifier and Type | Class and Description |
---|---|
class |
ObjectOptimisticLockingFailureException
Exception thrown on an optimistic locking violation for a mapped object.
|
Modifier and Type | Class and Description |
---|---|
class |
HibernateOptimisticLockingFailureException
Hibernate-specific subclass of ObjectOptimisticLockingFailureException.
|
Modifier and Type | Class and Description |
---|---|
class |
JpaOptimisticLockingFailureException
JPA-specific subclass of ObjectOptimisticLockingFailureException.
|