public class DeleteStatementDefault extends StatementBase implements DeleteStatement
| Constructor and Description |
|---|
DeleteStatementDefault(Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
int |
delete()
Execute the delete query and return the number
of affected rows.
|
<T> List<T> |
delete(ResultSetHandler<T> resultSetHandler)
Execute the delete query and return a result set.
|
protected PreparedStatement |
getStatementWithParamsAdded(Connection connection) |
addCurrentParamsToStatement, addParam, addParamsToStatement, clearParams, clearSql, clearSql, close, close, copyParamsAndStaticTokensTo, getConnection, getIndexMap, getOriginalQuery, getParams, getParsedQuery, getQueryBuilder, getSql, getSqlFormmatter, getStaticTokens, parse, setBoolean, setDate, setDouble, setFloat, setInInteger, setInLong, setInstant, setInString, setInStringFromEnumNames, setInStringFromEnumNames, setInteger, setLong, setLongList, setParams, setStaticTokens, setString, sql, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearSql, clearSql, getSql, setBoolean, setDate, setDouble, setFloat, setInInteger, setInLong, setInstant, setInString, setInStringFromEnumNames, setInStringFromEnumNames, setInteger, setLong, setLongList, setString, sqlpublic DeleteStatementDefault(Connection connection)
protected PreparedStatement getStatementWithParamsAdded(Connection connection)
public int delete()
DeleteStatementdelete in interface DeleteStatementpublic <T> List<T> delete(ResultSetHandler<T> resultSetHandler)
DeleteStatement
This can be used with a RETURNING clause.
delete in interface DeleteStatementCopyright © 2018. All rights reserved.