类的使用
org.springframework.dao.NonTransientDataAccessException
使用NonTransientDataAccessException的程序包 程序包 说明 org.springframework.dao Exception hierarchy enabling sophisticated error handling independent of the data access approach in use.org.springframework.jca.cci This package contains Spring's support for the Common Client Interface (CCI), as defined by the J2EE Connector Architecture.org.springframework.jdbc The classes in this package make JDBC easier to use and reduce the likelihood of common errors.org.springframework.jdbc.datasource.lookup Provides a strategy for looking up JDBC DataSources by name.org.springframework.jdbc.support.xml Abstraction for handling fields of SQLXML data type.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中NonTransientDataAccessException的使用
org.springframework.dao中NonTransientDataAccessException的子类 修饰符和类型 类 说明 class
CleanupFailureDataAccessException
Exception thrown when we couldn't cleanup after a data access operation, but the actual operation went OK.class
DataAccessResourceFailureException
Data access exception thrown when a resource fails completely: for example, if we can't connect to a database using JDBC.class
DataIntegrityViolationException
Exception thrown when an attempt to insert or update data results in violation of an integrity constraint.class
DataRetrievalFailureException
Exception thrown if certain expected data could not be retrieved, e.g.class
DuplicateKeyException
Exception thrown when an attempt to insert or update data results in violation of an primary key or unique constraint.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.class
IncorrectUpdateSemanticsDataAccessException
Data access exception thrown when something unintended appears to have happened with an update, but the transaction hasn't already been rolled back.class
InvalidDataAccessApiUsageException
Exception thrown on incorrect usage of the API, such as failing to "compile" a query object that needed compilation before execution.class
InvalidDataAccessResourceUsageException
Root for exceptions thrown when we use a data access resource incorrectly.class
NonTransientDataAccessResourceException
Data access exception thrown when a resource fails completely and the failure is permanent.class
PermissionDeniedDataAccessException
Exception thrown when the underlying resource denied a permission to access a specific element, such as a specific database table.class
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.class
UncategorizedDataAccessException
Normal superclass when we can't distinguish anything more specific than "something went wrong with the underlying resource": for example, an SQLException from JDBC we can't pinpoint more precisely.org.springframework.jca.cci中NonTransientDataAccessException的使用
org.springframework.jca.cci中NonTransientDataAccessException的子类 修饰符和类型 类 说明 class
CannotCreateRecordException
Exception thrown when the creating of a CCI Record failed for connector-internal reasons.class
CannotGetCciConnectionException
Fatal exception thrown when we can't connect to an EIS using CCI.class
CciOperationNotSupportedException
Exception thrown when the connector doesn't support a specific CCI operation.class
InvalidResultSetAccessException
Exception thrown when a ResultSet has been accessed in an invalid fashion.class
RecordTypeNotSupportedException
Exception thrown when the creating of a CCI Record failed because the connector doesn't support the desired CCI Record type.org.springframework.jdbc中NonTransientDataAccessException的使用
org.springframework.jdbc中NonTransientDataAccessException的子类 修饰符和类型 类 说明 class
BadSqlGrammarException
Exception thrown when SQL specified is invalid.class
CannotGetJdbcConnectionException
Fatal exception thrown when we can't connect to an RDBMS using JDBC.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
InvalidResultSetAccessException
Exception thrown when a ResultSet has been accessed in an invalid fashion.class
JdbcUpdateAffectedIncorrectNumberOfRowsException
Exception thrown when a JDBC update affects an unexpected number of rows.class
LobRetrievalFailureException
Exception to be thrown when a LOB could not be retrieved.class
SQLWarningException
Exception thrown when we're not ignoringSQLWarnings
.class
UncategorizedSQLException
Exception thrown when we can't classify an SQLException into one of our generic data access exceptions.org.springframework.jdbc.datasource.lookup中NonTransientDataAccessException的使用
org.springframework.jdbc.datasource.lookup中NonTransientDataAccessException的子类 修饰符和类型 类 说明 class
DataSourceLookupFailureException
Exception to be thrown by a DataSourceLookup implementation, indicating that the specified DataSource could not be obtained.org.springframework.jdbc.support.xml中NonTransientDataAccessException的使用
org.springframework.jdbc.support.xml中NonTransientDataAccessException的子类 修饰符和类型 类 说明 class
SqlXmlFeatureNotImplementedException
Exception thrown when the underlying implementation does not support the requested feature of the API.org.springframework.orm中NonTransientDataAccessException的使用
org.springframework.orm中NonTransientDataAccessException的子类 修饰符和类型 类 说明 class
ObjectRetrievalFailureException
Exception thrown if a mapped object could not be retrieved via its identifier.org.springframework.orm.hibernate5中NonTransientDataAccessException的使用
org.springframework.orm.hibernate5中NonTransientDataAccessException的子类 修饰符和类型 类 说明 class
HibernateJdbcException
Hibernate-specific subclass of UncategorizedDataAccessException, for JDBC exceptions that Hibernate wrapped.class
HibernateObjectRetrievalFailureException
Hibernate-specific subclass of ObjectRetrievalFailureException.class
HibernateQueryException
Hibernate-specific subclass of InvalidDataAccessResourceUsageException, thrown on invalid HQL query syntax.class
HibernateSystemException
Hibernate-specific subclass of UncategorizedDataAccessException, for Hibernate system errors that do not match any concreteorg.springframework.dao
exceptions.org.springframework.orm.jpa中NonTransientDataAccessException的使用
org.springframework.orm.jpa中NonTransientDataAccessException的子类 修饰符和类型 类 说明 class
JpaObjectRetrievalFailureException
JPA-specific subclass of ObjectRetrievalFailureException.class
JpaSystemException
JPA-specific subclass of UncategorizedDataAccessException, for JPA system errors that do not match any concreteorg.springframework.dao
exceptions.