程序包的使用
org.springframework.jdbc.core
使用org.springframework.jdbc.core的程序包 程序包 说明 org.springframework.jdbc.core Provides the core JDBC framework, based on JdbcTemplate and its associated callback interfaces and helper objects.org.springframework.jdbc.core.metadata Context metadata abstraction for the configuration and execution of table inserts and stored procedure calls.org.springframework.jdbc.core.namedparam JdbcTemplate variant with named parameter support.org.springframework.jdbc.core.simple Simplification layer for table inserts and stored procedure calls.org.springframework.jdbc.core.support Classes supporting theorg.springframework.jdbc.core
package.org.springframework.jdbc.object The classes in this package represent RDBMS queries, updates, and stored procedures as threadsafe, reusable objects.org.springframework.test.context.junit4 Support classes for integrating the Spring TestContext Framework with JUnit 4.12 or higher.org.springframework.test.context.testng Support classes for integrating the Spring TestContext Framework with TestNG.org.springframework.test.jdbc Support classes for tests based on JDBC.org.springframework.jdbc.core使用的org.springframework.jdbc.core中的类 类 说明 BatchPreparedStatementSetter Batch update callback interface used by theJdbcTemplate
class.BeanPropertyRowMapper RowMapper
implementation that converts a row into a new instance of the specified mapped target class.CallableStatementCallback Generic callback interface for code that operates on a CallableStatement.CallableStatementCreator One of the three central callback interfaces used by the JdbcTemplate class.ConnectionCallback Generic callback interface for code that operates on a JDBC Connection.JdbcOperations Interface specifying a basic set of JDBC operations.ParameterDisposer Interface to be implemented by objects that can close resources allocated by parameters likeSqlLobValue
objects.ParameterizedPreparedStatementSetter Parameterized callback interface used by theJdbcTemplate
class for batch updates.ParameterMapper Implement this interface when parameters need to be customized based on the connection.PreparedStatementCallback Generic callback interface for code that operates on a PreparedStatement.PreparedStatementCreator One of the two central callback interfaces used by the JdbcTemplate class.PreparedStatementSetter General callback interface used by theJdbcTemplate
class.ResultSetExtractor Callback interface used byJdbcTemplate
's query methods.ResultSetSupportingSqlParameter Common base class for ResultSet-supporting SqlParameters likeSqlOutParameter
andSqlReturnResultSet
.RowCallbackHandler An interface used byJdbcTemplate
for processing rows of aResultSet
on a per-row basis.RowMapper An interface used byJdbcTemplate
for mapping rows of aResultSet
on a per-row basis.SingleColumnRowMapper RowMapper
implementation that converts a single column into a single result value per row.SqlOutParameter Subclass ofSqlParameter
to represent an output parameter.SqlParameter Object to represent an SQL parameter definition.SqlReturnType Interface to be implemented for retrieving values for more complex database-specific types not supported by the standardCallableStatement.getObject
method.SqlTypeValue Interface to be implemented for setting values for more complex database-specific types not supported by the standardsetObject
method.StatementCallback Generic callback interface for code that operates on a JDBC Statement.org.springframework.jdbc.core.metadata使用的org.springframework.jdbc.core中的类 类 说明 RowMapper An interface used byJdbcTemplate
for mapping rows of aResultSet
on a per-row basis.SqlParameter Object to represent an SQL parameter definition.org.springframework.jdbc.core.namedparam使用的org.springframework.jdbc.core中的类 类 说明 BatchUpdateUtils 已过时。as of 5.1.3, not used byJdbcTemplate
anymoreJdbcOperations Interface specifying a basic set of JDBC operations.JdbcTemplate This is the central class in the JDBC core package. It simplifies the use of JDBC and helps to avoid common errors.PreparedStatementCallback Generic callback interface for code that operates on a PreparedStatement.PreparedStatementCreator One of the two central callback interfaces used by the JdbcTemplate class.PreparedStatementCreatorFactory Helper class that efficiently creates multiplePreparedStatementCreator
objects with different parameters based on an SQL statement and a single set of parameter declarations.ResultSetExtractor Callback interface used byJdbcTemplate
's query methods.RowCallbackHandler An interface used byJdbcTemplate
for processing rows of aResultSet
on a per-row basis.RowMapper An interface used byJdbcTemplate
for mapping rows of aResultSet
on a per-row basis.SqlParameter Object to represent an SQL parameter definition.org.springframework.jdbc.core.simple使用的org.springframework.jdbc.core中的类 类 说明 CallableStatementCreatorFactory Helper class that efficiently creates multipleCallableStatementCreator
objects with different parameters based on an SQL statement and a single set of parameter declarations.JdbcTemplate This is the central class in the JDBC core package. It simplifies the use of JDBC and helps to avoid common errors.RowMapper An interface used byJdbcTemplate
for mapping rows of aResultSet
on a per-row basis.SqlParameter Object to represent an SQL parameter definition.org.springframework.jdbc.core.support使用的org.springframework.jdbc.core中的类 类 说明 BatchPreparedStatementSetter Batch update callback interface used by theJdbcTemplate
class.DisposableSqlTypeValue Subinterface ofSqlTypeValue
that adds a cleanup callback, to be invoked after the value has been set and the corresponding statement has been executed.InterruptibleBatchPreparedStatementSetter Extension of theBatchPreparedStatementSetter
interface, adding a batch exhaustion check.JdbcTemplate This is the central class in the JDBC core package. It simplifies the use of JDBC and helps to avoid common errors.PreparedStatementCallback Generic callback interface for code that operates on a PreparedStatement.ResultSetExtractor Callback interface used byJdbcTemplate
's query methods.SqlTypeValue Interface to be implemented for setting values for more complex database-specific types not supported by the standardsetObject
method.org.springframework.jdbc.object使用的org.springframework.jdbc.core中的类 类 说明 CallableStatementCreator One of the three central callback interfaces used by the JdbcTemplate class.JdbcTemplate This is the central class in the JDBC core package. It simplifies the use of JDBC and helps to avoid common errors.ParameterMapper Implement this interface when parameters need to be customized based on the connection.PreparedStatementCreator One of the two central callback interfaces used by the JdbcTemplate class.PreparedStatementSetter General callback interface used by theJdbcTemplate
class.RowMapper An interface used byJdbcTemplate
for mapping rows of aResultSet
on a per-row basis.SqlParameter Object to represent an SQL parameter definition.org.springframework.test.context.junit4使用的org.springframework.jdbc.core中的类 类 说明 JdbcTemplate This is the central class in the JDBC core package. It simplifies the use of JDBC and helps to avoid common errors.org.springframework.test.context.testng使用的org.springframework.jdbc.core中的类 类 说明 JdbcTemplate This is the central class in the JDBC core package. It simplifies the use of JDBC and helps to avoid common errors.org.springframework.test.jdbc使用的org.springframework.jdbc.core中的类 类 说明 JdbcTemplate This is the central class in the JDBC core package. It simplifies the use of JDBC and helps to avoid common errors.