public interface BatchPreparedStatementSetter
| 限定符和类型 | 方法和说明 | 
|---|---|
int | 
getBatchSize()
Return the size of the batch. 
 | 
void | 
setValues(java.sql.PreparedStatement ps,
         int i)
Set parameter values on the given PreparedStatement. 
 | 
void setValues(java.sql.PreparedStatement ps,
               int i)
        throws java.sql.SQLException
ps - the PreparedStatement to invoke setter methods oni - index of the statement we're issuing in the batch, starting from 0java.sql.SQLException - if a SQLException is encountered
 (i.e. there is no need to catch SQLException)int getBatchSize()
Copyright © Actionsoft Co., Ltd. All Rights Reserved.