类的使用
org.springframework.dao.DataRetrievalFailureException
使用DataRetrievalFailureException的程序包 程序包 说明 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.org.springframework.dao中DataRetrievalFailureException的使用
org.springframework.dao中DataRetrievalFailureException的子类 修饰符和类型 类 说明 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.org.springframework.jdbc中DataRetrievalFailureException的使用
org.springframework.jdbc中DataRetrievalFailureException的子类 修饰符和类型 类 说明 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 columns.class
LobRetrievalFailureException
Exception to be thrown when a LOB could not be retrieved.org.springframework.jdbc.support中DataRetrievalFailureException的使用
抛出DataRetrievalFailureException的org.springframework.jdbc.support中的方法 修饰符和类型 方法 说明 Number
GeneratedKeyHolder. getKey()
org.springframework.orm中DataRetrievalFailureException的使用
org.springframework.orm中DataRetrievalFailureException的子类 修饰符和类型 类 说明 class
ObjectRetrievalFailureException
Exception thrown if a mapped object could not be retrieved via its identifier.org.springframework.orm.hibernate5中DataRetrievalFailureException的使用
org.springframework.orm.hibernate5中DataRetrievalFailureException的子类 修饰符和类型 类 说明 class
HibernateObjectRetrievalFailureException
Hibernate-specific subclass of ObjectRetrievalFailureException.org.springframework.orm.jpa中DataRetrievalFailureException的使用
org.springframework.orm.jpa中DataRetrievalFailureException的子类 修饰符和类型 类 说明 class
JpaObjectRetrievalFailureException
JPA-specific subclass of ObjectRetrievalFailureException.