Uses of Class
org.springframework.dao.NonTransientDataAccessException
Package
Description
Exception hierarchy enabling sophisticated error handling independent
of the data access approach in use.
The classes in this package make JDBC easier to use and
reduce the likelihood of common errors.
Provides a strategy for looking up JDBC DataSources by name.
Abstraction for handling fields of SQLXML data type.
Root package for Spring's O/R Mapping integration classes.
Package providing integration of
Hibernate 5.x
with Spring concepts.
Package providing integration of JPA (Java Persistence API) with Spring concepts.
The classes in this package make R2DBC easier to use and
reduce the likelihood of common errors.
Provides a strategy for looking up R2DBC ConnectionFactories by name.
Classes providing an abstraction over SQL bind markers.
-
Uses of NonTransientDataAccessException in org.springframework.dao
Modifier and TypeClassDescriptionclass
Deprecated.as of 6.0.3 since it is not in use within core JDBC/ORM supportclass
Data access exception thrown when a resource fails completely: for example, if we can't connect to a database using JDBC.class
Exception thrown when an attempt to execute an SQL statement fails to map the given data, typically but no limited to an insert or update data results in violation of an integrity constraint.class
Exception thrown if certain expected data could not be retrieved, e.g.class
Exception thrown when an attempt to insert or update data results in violation of a primary key or unique constraint.class
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
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
Data access exception thrown when something unintended appears to have happened with an update, but the transaction hasn't already been rolled back.class
Exception thrown on incorrect usage of the API, such as failing to "compile" a query object that needed compilation before execution.class
Root for exceptions thrown when we use a data access resource incorrectly.class
Data access exception thrown when a resource fails completely and the failure is permanent.class
Exception thrown when the underlying resource denied a permission to access a specific element, such as a specific database table.class
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
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. -
Uses of NonTransientDataAccessException in org.springframework.jdbc
Modifier and TypeClassDescriptionclass
Exception thrown when SQL specified is invalid.class
Fatal exception thrown when we can't connect to an RDBMS using JDBC.class
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
Exception thrown when a ResultSet has been accessed in an invalid fashion.class
Exception thrown when a JDBC update affects an unexpected number of rows.class
Exception to be thrown when a LOB could not be retrieved.class
Exception thrown when we're not ignoringSQLWarnings
.class
Exception thrown when we can't classify an SQLException into one of our generic data access exceptions. -
Uses of NonTransientDataAccessException in org.springframework.jdbc.datasource.lookup
Modifier and TypeClassDescriptionclass
Exception to be thrown by a DataSourceLookup implementation, indicating that the specified DataSource could not be obtained. -
Uses of NonTransientDataAccessException in org.springframework.jdbc.support.xml
Modifier and TypeClassDescriptionclass
Exception thrown when the underlying implementation does not support the requested feature of the API. -
Uses of NonTransientDataAccessException in org.springframework.orm
Modifier and TypeClassDescriptionclass
Exception thrown if a mapped object could not be retrieved via its identifier. -
Uses of NonTransientDataAccessException in org.springframework.orm.hibernate5
Modifier and TypeClassDescriptionclass
Hibernate-specific subclass of UncategorizedDataAccessException, for JDBC exceptions that Hibernate wrapped.class
Hibernate-specific subclass of ObjectRetrievalFailureException.class
Hibernate-specific subclass of InvalidDataAccessResourceUsageException, thrown on invalid HQL query syntax.class
Hibernate-specific subclass of UncategorizedDataAccessException, for Hibernate system errors that do not match any concreteorg.springframework.dao
exceptions. -
Uses of NonTransientDataAccessException in org.springframework.orm.jpa
Modifier and TypeClassDescriptionclass
JPA-specific subclass of ObjectRetrievalFailureException.class
JPA-specific subclass of UncategorizedDataAccessException, for JPA system errors that do not match any concreteorg.springframework.dao
exceptions. -
Uses of NonTransientDataAccessException in org.springframework.r2dbc
Modifier and TypeClassDescriptionclass
Exception thrown when SQL specified is invalid.class
Exception thrown when we can't classify aR2dbcException
into one of our generic data access exceptions. -
Uses of NonTransientDataAccessException in org.springframework.r2dbc.connection.lookup
Modifier and TypeClassDescriptionclass
Exception to be thrown by aConnectionFactoryLookup
implementation, indicating that the specifiedConnectionFactory
could not be obtained. -
Uses of NonTransientDataAccessException in org.springframework.r2dbc.core.binding
Modifier and TypeClassDescriptionstatic class
Exception thrown whenBindMarkersFactoryResolver
cannot resolve aBindMarkersFactory
.