public class BatchingPreparedStatementWrapper extends BatchingStatementWrapper
batchCount, batchSize, log, results
Constructor and Description |
---|
BatchingPreparedStatementWrapper(PreparedStatement delegate,
List<Tuple> indexPropList,
int batchSize,
Logger log,
Sql sql) |
Modifier and Type | Method and Description |
---|---|
void |
addBatch(List<Object> parameters) |
void |
addBatch(Object[] parameters) |
addBatch, clearBatch, close, executeBatch, invokeMethod, processResult, reset
getMetaClass, getProperty, setMetaClass, setProperty
public BatchingPreparedStatementWrapper(PreparedStatement delegate, List<Tuple> indexPropList, int batchSize, Logger log, Sql sql)
public void addBatch(Object[] parameters) throws SQLException
SQLException
public void addBatch(List<Object> parameters) throws SQLException
SQLException