# Package org.springframework.jdbc.support

@NonNullApi @NonNullFields package org.springframework.jdbc.support
Support classes for the JDBC framework, used by the classes in the jdbc.core and jdbc.object packages. Provides a translator from SQLExceptions Spring's generic DataAccessExceptions.

Can be used independently, for example in custom JDBC access code, or in JDBC-based O/R mapping layers.

Related Packages
Package
Description
org.springframework.jdbc
The classes in this package make JDBC easier to use and reduce the likelihood of common errors.
org.springframework.jdbc.support.incrementer
Provides a support framework for incrementing database table values via sequences, with implementations for various databases.
org.springframework.jdbc.support.lob
Provides a strategy interface for Large OBject handling, as well as a customizable default implementation.
org.springframework.jdbc.support.rowset
Provides a convenient holder for disconnected result sets.
org.springframework.jdbc.support.xml
Abstraction for handling fields of SQLXML data type.
org.springframework.jdbc.config
Defines the Spring JDBC configuration namespace.
org.springframework.jdbc.core
Provides the core JDBC framework, based on JdbcTemplate and its associated callback interfaces and helper objects.
org.springframework.jdbc.datasource
Provides a utility class for easy DataSource access, a PlatformTransactionManager for a single DataSource, and various simple DataSource implementations.
org.springframework.jdbc.object
The classes in this package represent RDBMS queries, updates, and stored procedures as threadsafe, reusable objects.
Class
Description
AbstractFallbackSQLExceptionTranslator
Base class for `SQLExceptionTranslator` implementations that allow for a fallback to some other `SQLExceptionTranslator`, as well as for custom overrides.
CustomSQLErrorCodesTranslation
JavaBean for holding custom JDBC error codes translation for a particular database.
CustomSQLExceptionTranslatorRegistrar
Registry for custom `SQLExceptionTranslator` instances for specific databases.
CustomSQLExceptionTranslatorRegistry
Registry for custom `SQLExceptionTranslator` instances associated with specific databases allowing for overriding translation based on values contained in the configuration file named "sql-error-codes.xml".
DatabaseMetaDataCallback<T>
A callback interface used by the JdbcUtils class.
DatabaseStartupValidator
Bean that checks if a database has already started up.
GeneratedKeyHolder
The standard implementation of the `KeyHolder` interface, to be used for holding auto-generated keys (as potentially returned by JDBC insert statements).
JdbcAccessor
Base class for `JdbcTemplate` and other JDBC-accessing DAO helpers, defining common properties such as DataSource and exception translator.
JdbcTransactionManager
`JdbcAccessor`-aligned subclass of the plain `DataSourceTransactionManager`, adding common JDBC exception translation for the commit and rollback step.
JdbcUtils
Generic utility methods for working with JDBC.
KeyHolder
Interface for retrieving keys, typically used for auto-generated keys as potentially returned by JDBC insert statements.
MetaDataAccessException
Exception indicating that something went wrong during JDBC meta-data lookup.
SqlArrayValue
Common `SqlValue` implementation for JDBC `Array` creation based on the JDBC 4 `Connection.createArrayOf(java.lang.String, java.lang.Object[])` method.
SQLErrorCodes
JavaBean for holding JDBC error codes for a particular database.
SQLErrorCodesFactory
Factory for creating `SQLErrorCodes` based on the "databaseProductName" taken from the `DatabaseMetaData`.
SQLErrorCodeSQLExceptionTranslator
Implementation of `SQLExceptionTranslator` that analyzes vendor-specific error codes.
SQLExceptionSubclassTranslator
`SQLExceptionTranslator` implementation which analyzes the specific `SQLException` subclass thrown by the JDBC driver.
SQLExceptionTranslator
Strategy interface for translating between `SQLExceptions` and Spring's data access strategy-agnostic `DataAccessException` hierarchy.
SQLStateSQLExceptionTranslator
`SQLExceptionTranslator` implementation that analyzes the SQL state in the `SQLException` based on the first two digits (the SQL state "class").
SqlValue
Simple interface for complex types to be set as statement parameters.