Closeable, AutoCloseablepublic class PreparedSqlInsertStatement extends AbstractPreparedSqlStatement
| Constructor | Description |
|---|---|
PreparedSqlInsertStatement(DbloadContext _context,
TableMetaData _tableMetaData) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
execute(DataRow data) |
Execute the SQL statement with the given parameters (data).
|
boolean |
isExecutionResult() |
Returns the execution result.
|
applyParams, close, getPreparedStatement, toStringpublic PreparedSqlInsertStatement(DbloadContext _context, TableMetaData _tableMetaData) throws SQLException
SQLExceptionpublic void execute(DataRow data) throws SQLException
AbstractPreparedSqlStatementexecute in class AbstractPreparedSqlStatementdata - the data to use as parameters for the querySQLException - Something is wrongpublic boolean isExecutionResult()
true, if the executed statement returns a
ResultSet object. Returns false, if the
executed statement returns the count of executed updates.Copyright © 2014-2018. All Rights Reserved.