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 IPreparedBatchStatementTypeCastExceptionSQLExceptionpublic void addBatch()
throws SQLException
addBatch in interface IPreparedBatchStatementSQLExceptionpublic int executeBatch()
throws SQLException
executeBatch in interface IPreparedBatchStatementSQLExceptionpublic void clearBatch()
throws SQLException
clearBatch in interface IPreparedBatchStatementSQLExceptionpublic void close()
throws SQLException
close in interface IPreparedBatchStatementSQLExceptionCopyright © 2002-2017. All Rights Reserved.