Package org.springframework.jdbc.core
@NonNullApi
@NonNullFields
package org.springframework.jdbc.core
Provides the core JDBC framework, based on JdbcTemplate
and its associated callback interfaces and helper objects.
-
ClassDescriptionA
BatchUpdateExceptionthat provides additional information about batches that were successful prior to one failing.Simple adapter forPreparedStatementSetterthat applies a given array of arguments.Simple adapter forPreparedStatementSetterthat applies the given arrays of arguments and JDBC argument types.Batch update callback interface used by theJdbcTemplateclass.RowMapperimplementation that converts a row into a new instance of the specified mapped target class.Generic callback interface for code that operates on a CallableStatement.One of the three central callback interfaces used by the JdbcTemplate class.Helper class that efficiently creates multipleCallableStatementCreatorobjects with different parameters based on an SQL statement and a single set of parameter declarations.RowMapperimplementation that creates ajava.util.Mapfor each row, representing all columns as key-value pairs: one entry for each column, with the column name as key.Generic callback interface for code that operates on a JDBC Connection.RowMapperimplementation that converts a row into a new instance of the specified mapped target class.Subinterface ofSqlTypeValuethat adds a cleanup callback, to be invoked after the value has been set and the corresponding statement has been executed.Extension of theBatchPreparedStatementSetterinterface, adding a batch exhaustion check.Interface specifying a basic set of JDBC operations.This is the central delegate in the JDBC core package. It can be used directly for many data access purposes, supporting any kind of JDBC operation.Interface to be implemented by objects that can close resources allocated by parameters likeSqlLobValueobjects.Parameterized callback interface used by theJdbcTemplateclass for batch updates.Implement this interface when parameters need to be customized based on the connection.Generic callback interface for code that operates on a PreparedStatement.One of the two central callback interfaces used by the JdbcTemplate class.Helper class that efficiently creates multiplePreparedStatementCreatorobjects with different parameters based on an SQL statement and a single set of parameter declarations.General callback interface used by theJdbcTemplateclass.Callback interface used byJdbcTemplate's query methods.Common base class for ResultSet-supporting SqlParameters likeSqlOutParameterandSqlReturnResultSet.An interface used byJdbcTemplateandNamedParameterJdbcTemplatefor processing rows of aResultSeton a per-row basis.Implementation of RowCallbackHandler.RowMapper<T>An interface used byJdbcTemplatefor mapping rows of aResultSeton a per-row basis.Adapter implementation of the ResultSetExtractor interface that delegates to a RowMapper which is supposed to create an object for each row.RowMapperimplementation that converts a row into a new instance of the specified mapped target class.RowMapperimplementation that converts a single column into a single result value per row.Subclass ofSqlOutParameterto represent an INOUT parameter.Subclass ofSqlParameterto represent an output parameter.Object to represent an SQL parameter definition.Object to represent an SQL parameter value, including parameter meta-data such as the SQL type and the scale for numeric values.Interface to be implemented by objects that can provide SQL strings.Represents a returnedResultSetfrom a stored procedure call.Interface to be implemented for retrieving values for more complex database-specific types not supported by the standardCallableStatement.getObjectmethod.Represents a returned update count from a stored procedure call.ResultSetExtractorimplementation that returns a SpringSqlRowSetrepresentation for each givenResultSet.Interface to be implemented for setting values for more complex database-specific types not supported by the standardsetObjectmethod.Generic callback interface for code that operates on a JDBC Statement.Utility methods for PreparedStatementSetter/Creator and CallableStatementCreator implementations, providing sophisticated parameter management (including support for LOB values).