接口的使用
org.springframework.jdbc.core.PreparedStatementCallback
使用PreparedStatementCallback的程序包 程序包 说明 org.springframework.jdbc.core Provides the core JDBC framework, based on JdbcTemplate and its associated callback interfaces and helper objects.org.springframework.jdbc.core.namedparam JdbcTemplate variant with named parameter support.org.springframework.jdbc.core.support Classes supporting theorg.springframework.jdbc.core
package.org.springframework.jdbc.core中PreparedStatementCallback的使用
参数类型为PreparedStatementCallback的org.springframework.jdbc.core中的方法 修饰符和类型 方法 说明 <T> T
JdbcOperations. execute(String sql, PreparedStatementCallback<T> action)
Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.<T> T
JdbcOperations. execute(PreparedStatementCreator psc, PreparedStatementCallback<T> action)
Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.<T> T
JdbcTemplate. execute(String sql, PreparedStatementCallback<T> action)
<T> T
JdbcTemplate. execute(PreparedStatementCreator psc, PreparedStatementCallback<T> action)
org.springframework.jdbc.core.namedparam中PreparedStatementCallback的使用
参数类型为PreparedStatementCallback的org.springframework.jdbc.core.namedparam中的方法 修饰符和类型 方法 说明 <T> T
NamedParameterJdbcOperations. execute(String sql, Map<String,?> paramMap, PreparedStatementCallback<T> action)
Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.<T> T
NamedParameterJdbcOperations. execute(String sql, SqlParameterSource paramSource, PreparedStatementCallback<T> action)
Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.<T> T
NamedParameterJdbcOperations. execute(String sql, PreparedStatementCallback<T> action)
Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement.<T> T
NamedParameterJdbcTemplate. execute(String sql, Map<String,?> paramMap, PreparedStatementCallback<T> action)
<T> T
NamedParameterJdbcTemplate. execute(String sql, SqlParameterSource paramSource, PreparedStatementCallback<T> action)
<T> T
NamedParameterJdbcTemplate. execute(String sql, PreparedStatementCallback<T> action)
org.springframework.jdbc.core.support中PreparedStatementCallback的使用
实现PreparedStatementCallback的org.springframework.jdbc.core.support中的类 修饰符和类型 类 说明 class
AbstractLobCreatingPreparedStatementCallback
AbstractPreparedStatementCallback
implementation that manages aLobCreator
.