Top Description Classes
module spring.jdbc

Package org.springframework.jdbc

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

The classes in this package make JDBC easier to use and reduce the likelihood of common errors. In particular, they:

This package and related packages are discussed in Chapter 9 of Expert One-On-One J2EE Design and Development by Rod Johnson (Wrox, 2002).

Class Summary

Modifier and TypeClass and Description
public class
BadSqlGrammarException

Exception thrown when SQL specified is invalid.

public class
CannotGetJdbcConnectionException

Fatal exception thrown when we can't connect to an RDBMS using JDBC.

public 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.

public class
InvalidResultSetAccessException

Exception thrown when a ResultSet has been accessed in an invalid fashion.

public class
JdbcUpdateAffectedIncorrectNumberOfRowsException

Exception thrown when a JDBC update affects an unexpected number of rows.

public class
LobRetrievalFailureException

Exception to be thrown when a LOB could not be retrieved.

public class
SQLWarningException

Exception thrown when we're not ignoring SQLWarnings.

public class
UncategorizedSQLException

Exception thrown when we can't classify an SQLException into one of our generic data access exceptions.