类的使用
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的子类 修饰符和类型 类 说明 classCleanupFailureDataAccessExceptionException thrown when we couldn't cleanup after a data access operation, but the actual operation went OK.classDataAccessResourceFailureExceptionData access exception thrown when a resource fails completely: for example, if we can't connect to a database using JDBC.classDataIntegrityViolationExceptionException thrown when an attempt to insert or update data results in violation of an integrity constraint.classDataRetrievalFailureExceptionException thrown if certain expected data could not be retrieved, e.g.classDuplicateKeyExceptionException thrown when an attempt to insert or update data results in violation of an primary key or unique constraint.classEmptyResultDataAccessExceptionData access exception thrown when a result was expected to have at least one row (or element) but zero rows (or elements) were actually returned.classIncorrectResultSizeDataAccessExceptionData 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.classIncorrectUpdateSemanticsDataAccessExceptionData access exception thrown when something unintended appears to have happened with an update, but the transaction hasn't already been rolled back.classInvalidDataAccessApiUsageExceptionException thrown on incorrect usage of the API, such as failing to "compile" a query object that needed compilation before execution.classInvalidDataAccessResourceUsageExceptionRoot for exceptions thrown when we use a data access resource incorrectly.classNonTransientDataAccessResourceExceptionData access exception thrown when a resource fails completely and the failure is permanent.classPermissionDeniedDataAccessExceptionException thrown when the underlying resource denied a permission to access a specific element, such as a specific database table.classTypeMismatchDataAccessExceptionException 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.classUncategorizedDataAccessExceptionNormal 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的子类 修饰符和类型 类 说明 classCannotCreateRecordExceptionException thrown when the creating of a CCI Record failed for connector-internal reasons.classCannotGetCciConnectionExceptionFatal exception thrown when we can't connect to an EIS using CCI.classCciOperationNotSupportedExceptionException thrown when the connector doesn't support a specific CCI operation.classInvalidResultSetAccessExceptionException thrown when a ResultSet has been accessed in an invalid fashion.classRecordTypeNotSupportedExceptionException 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的子类 修饰符和类型 类 说明 classBadSqlGrammarExceptionException thrown when SQL specified is invalid.classCannotGetJdbcConnectionExceptionFatal exception thrown when we can't connect to an RDBMS using JDBC.classIncorrectResultSetColumnCountExceptionData 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.classInvalidResultSetAccessExceptionException thrown when a ResultSet has been accessed in an invalid fashion.classJdbcUpdateAffectedIncorrectNumberOfRowsExceptionException thrown when a JDBC update affects an unexpected number of rows.classLobRetrievalFailureExceptionException to be thrown when a LOB could not be retrieved.classSQLWarningExceptionException thrown when we're not ignoringSQLWarnings.classUncategorizedSQLExceptionException 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的子类 修饰符和类型 类 说明 classDataSourceLookupFailureExceptionException 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的子类 修饰符和类型 类 说明 classSqlXmlFeatureNotImplementedExceptionException thrown when the underlying implementation does not support the requested feature of the API.org.springframework.orm中NonTransientDataAccessException的使用
org.springframework.orm中NonTransientDataAccessException的子类 修饰符和类型 类 说明 classObjectRetrievalFailureExceptionException thrown if a mapped object could not be retrieved via its identifier.org.springframework.orm.hibernate5中NonTransientDataAccessException的使用
org.springframework.orm.hibernate5中NonTransientDataAccessException的子类 修饰符和类型 类 说明 classHibernateJdbcExceptionHibernate-specific subclass of UncategorizedDataAccessException, for JDBC exceptions that Hibernate wrapped.classHibernateObjectRetrievalFailureExceptionHibernate-specific subclass of ObjectRetrievalFailureException.classHibernateQueryExceptionHibernate-specific subclass of InvalidDataAccessResourceUsageException, thrown on invalid HQL query syntax.classHibernateSystemExceptionHibernate-specific subclass of UncategorizedDataAccessException, for Hibernate system errors that do not match any concreteorg.springframework.daoexceptions.org.springframework.orm.jpa中NonTransientDataAccessException的使用
org.springframework.orm.jpa中NonTransientDataAccessException的子类 修饰符和类型 类 说明 classJpaObjectRetrievalFailureExceptionJPA-specific subclass of ObjectRetrievalFailureException.classJpaSystemExceptionJPA-specific subclass of UncategorizedDataAccessException, for JPA system errors that do not match any concreteorg.springframework.daoexceptions.