public class AutomaticPreparedBatchStatement extends java.lang.Object implements IPreparedBatchStatement
| Constructor and Description |
|---|
AutomaticPreparedBatchStatement(IPreparedBatchStatement statement,
int threshold) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
void |
addValue(java.lang.Object value,
DataType dataType) |
void |
clearBatch() |
void |
close() |
int |
executeBatch() |
public AutomaticPreparedBatchStatement(IPreparedBatchStatement statement, int threshold)
public void addValue(java.lang.Object value,
DataType dataType)
throws TypeCastException,
java.sql.SQLException
addValue in interface IPreparedBatchStatementTypeCastExceptionjava.sql.SQLExceptionpublic void addBatch()
throws java.sql.SQLException
addBatch in interface IPreparedBatchStatementjava.sql.SQLExceptionpublic int executeBatch()
throws java.sql.SQLException
executeBatch in interface IPreparedBatchStatementjava.sql.SQLExceptionpublic void clearBatch()
throws java.sql.SQLException
clearBatch in interface IPreparedBatchStatementjava.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
close in interface IPreparedBatchStatementjava.sql.SQLExceptionCopyright © 2002-2018. All Rights Reserved.