|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface BatchPreparedStatementSetter
批量更新时动态参数设置接口。
| 方法摘要 | |
|---|---|
int |
getBatchSize()
Return the size of the batch. |
void |
setValues(PreparedStatement ps,
int i)
Set parameter values on the given PreparedStatement. |
| 方法详细信息 |
|---|
void setValues(PreparedStatement ps,
int i)
throws SQLException
ps - the PreparedStatement to invoke setter methods oni - index of the statement we're issuing in the batch, starting from 0
SQLException - if a SQLException is encountered (i.e. there is no need to catch SQLException)int getBatchSize()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||