public class SimplePreparedStatement extends AbstractPreparedBatchStatement
_statement| Constructor and Description |
|---|
SimplePreparedStatement(String sql,
Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
void |
addValue(Object value,
DataType dataType) |
void |
clearBatch() |
int |
executeBatch() |
closepublic SimplePreparedStatement(String sql, Connection connection) throws SQLException
SQLExceptionpublic void addValue(Object value, DataType dataType) throws TypeCastException, SQLException
TypeCastExceptionSQLExceptionpublic void addBatch()
throws SQLException
SQLExceptionpublic int executeBatch()
throws SQLException
SQLExceptionpublic void clearBatch()
throws SQLException
SQLExceptionCopyright © 2002-2017. All Rights Reserved.