Package | Description |
---|---|
org.springframework.dao |
Exception hierarchy enabling sophisticated error handling independent
of the data access approach in use.
|
org.springframework.jdbc |
The classes in this package make JDBC easier to use and
reduce the likelihood of common errors.
|
org.springframework.jdbc.support |
Support classes for the JDBC framework, used by the classes in the
jdbc.core and jdbc.object packages.
|
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 |
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.
|
class |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
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 column.
|
class |
LobRetrievalFailureException
Exception to be thrown when a LOB could not be retrieved.
|
Modifier and Type | Method and Description |
---|---|
Number |
GeneratedKeyHolder.getKey() |
<T> T |
GeneratedKeyHolder.getKeyAs(Class<T> keyType) |
Modifier and Type | Class and Description |
---|---|
class |
ObjectRetrievalFailureException
Exception thrown if a mapped object could not be retrieved via its identifier.
|
Modifier and Type | Class and Description |
---|---|
class |
HibernateObjectRetrievalFailureException
Hibernate-specific subclass of ObjectRetrievalFailureException.
|
Modifier and Type | Class and Description |
---|---|
class |
JpaObjectRetrievalFailureException
JPA-specific subclass of ObjectRetrievalFailureException.
|