接口的使用
org.springframework.jdbc.core.BatchPreparedStatementSetter
使用BatchPreparedStatementSetter的程序包 程序包 说明 org.springframework.jdbc.core Provides the core JDBC framework, based on JdbcTemplate and its associated callback interfaces and helper objects.org.springframework.jdbc.core.support Classes supporting theorg.springframework.jdbc.core
package.org.springframework.jdbc.core中BatchPreparedStatementSetter的使用
org.springframework.jdbc.core中BatchPreparedStatementSetter的子接口 修饰符和类型 接口 说明 interface
InterruptibleBatchPreparedStatementSetter
Extension of theBatchPreparedStatementSetter
interface, adding a batch exhaustion check.参数类型为BatchPreparedStatementSetter的org.springframework.jdbc.core中的方法 修饰符和类型 方法 说明 int[]
JdbcOperations. batchUpdate(String sql, BatchPreparedStatementSetter pss)
Issue multiple update statements on a single PreparedStatement, using batch updates and a BatchPreparedStatementSetter to set values.int[]
JdbcTemplate. batchUpdate(String sql, BatchPreparedStatementSetter pss)
org.springframework.jdbc.core.support中BatchPreparedStatementSetter的使用
实现BatchPreparedStatementSetter的org.springframework.jdbc.core.support中的类 修饰符和类型 类 说明 class
AbstractInterruptibleBatchPreparedStatementSetter
Abstract implementation of theInterruptibleBatchPreparedStatementSetter
interface, combining the check for available values and setting of those into a single callback methodAbstractInterruptibleBatchPreparedStatementSetter.setValuesIfAvailable(java.sql.PreparedStatement, int)
.