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.
-
ClassDescriptionSimple adapter for
PreparedStatementSetter
that applies a given array of arguments.Simple adapter forPreparedStatementSetter
that applies the given arrays of arguments and JDBC argument types.Batch update callback interface used by theJdbcTemplate
class.RowMapper
implementation 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 multipleCallableStatementCreator
objects with different parameters based on an SQL statement and a single set of parameter declarations.RowMapper
implementation that creates ajava.util.Map
for 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.RowMapper
implementation that converts a row into a new instance of the specified mapped target class.Subinterface ofSqlTypeValue
that adds a cleanup callback, to be invoked after the value has been set and the corresponding statement has been executed.Extension of theBatchPreparedStatementSetter
interface, adding a batch exhaustion check.Interface specifying a basic set of JDBC operations.This is the central class in the JDBC core package. It simplifies the use of JDBC and helps to avoid common errors.Interface to be implemented by objects that can close resources allocated by parameters likeSqlLobValue
objects.Parameterized callback interface used by theJdbcTemplate
class 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 multiplePreparedStatementCreator
objects with different parameters based on an SQL statement and a single set of parameter declarations.General callback interface used by theJdbcTemplate
class.Callback interface used byJdbcTemplate
's query methods.Common base class for ResultSet-supporting SqlParameters likeSqlOutParameter
andSqlReturnResultSet
.An interface used byJdbcTemplate
andNamedParameterJdbcTemplate
for processing rows of aResultSet
on a per-row basis.Implementation of RowCallbackHandler.RowMapper<T>An interface used byJdbcTemplate
for mapping rows of aResultSet
on 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.RowMapper
implementation that converts a row into a new instance of the specified mapped target class.RowMapper
implementation that converts a single column into a single result value per row.Subclass ofSqlOutParameter
to represent an INOUT parameter.Subclass ofSqlParameter
to 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 returnedResultSet
from a stored procedure call.Interface to be implemented for retrieving values for more complex database-specific types not supported by the standardCallableStatement.getObject
method.Represents a returned update count from a stored procedure call.ResultSetExtractor
implementation that returns a SpringSqlRowSet
representation for each givenResultSet
.Interface to be implemented for setting values for more complex database-specific types not supported by the standardsetObject
method.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).