public class AutomaticPreparedBatchStatement extends Object implements IPreparedBatchStatement
Constructor and Description |
---|
AutomaticPreparedBatchStatement(IPreparedBatchStatement statement,
int threshold) |
Modifier and Type | Method and Description |
---|---|
void |
addBatch() |
void |
addValue(Object value,
DataType dataType) |
void |
clearBatch() |
void |
close() |
int |
executeBatch() |
public AutomaticPreparedBatchStatement(IPreparedBatchStatement statement, int threshold)
public void addValue(Object value, DataType dataType) throws TypeCastException, SQLException
addValue
in interface IPreparedBatchStatement
TypeCastException
SQLException
public void addBatch() throws SQLException
addBatch
in interface IPreparedBatchStatement
SQLException
public int executeBatch() throws SQLException
executeBatch
in interface IPreparedBatchStatement
SQLException
public void clearBatch() throws SQLException
clearBatch
in interface IPreparedBatchStatement
SQLException
public void close() throws SQLException
close
in interface IPreparedBatchStatement
SQLException
Copyright © 2002–2016. All rights reserved.