E - the generic type of the queried object (typically a Bean).SELF - the generic type of this query itself (this) for fluent API calls.public abstract class AbstractModifyStatement<E,SELF extends ModifyStatement<E,SELF>> extends AbstractStatement<E,SELF> implements ModifyStatement<E,SELF>
ModifyStatement.| Constructor and Description |
|---|
AbstractModifyStatement(SqlDialect dialect,
EntityAlias<E> alias)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract long |
doExecute(String sql,
Integer limit) |
long |
execute()
Execute the SQL and return the amount of affected rows
|
addAlias, addAliases, build, buildStart, createFeature, createSqlBuilder, feature, getAlias, getBuilder, getDialect, getFeature, getParameters, getResultClass, getSql, isSupportingAlias, self, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAlias, getDialect, getParameters, getSql, toStringpublic AbstractModifyStatement(SqlDialect dialect, EntityAlias<E> alias)
dialect - - see AbstractStatement.getDialect().alias - - see AbstractStatement.getAlias().public long execute()
FeatureModifyexecute in interface FeatureModifyprotected abstract long doExecute(String sql, Integer limit)
sql - the AbstractStatement.getSql() to execute.limit - the limit.execute()Copyright © 2001–2016 mmm-Team. All rights reserved.