public class NativeSqlUpdateTerminal extends AbstractStatement<NativeSqlUpdateTerminal,java.lang.Integer>
config, EXECUTE_METHOD, EXECUTE_METHOD_NAME| Constructor and Description |
|---|
NativeSqlUpdateTerminal(Config config,
UpdateDeclaration declaration) |
| Modifier and Type | Method and Description |
|---|---|
protected Command<java.lang.Integer> |
createCommand() |
java.lang.Integer |
execute()
Executes the SQL statement.
|
Statement<java.lang.Integer> |
where(java.util.function.Consumer<WhereDeclaration> block) |
asSql, createCommenter, peekpublic NativeSqlUpdateTerminal(Config config, UpdateDeclaration declaration)
public Statement<java.lang.Integer> where(java.util.function.Consumer<WhereDeclaration> block)
public java.lang.Integer execute()
execute in interface Statement<java.lang.Integer>execute in class AbstractStatement<NativeSqlUpdateTerminal,java.lang.Integer>EmptyWhereClauseException - if UpdateSettings.getAllowEmptyWhere() returns
false and the WHERE clause is emptyUniqueConstraintException - if an unique constraint is violatedJdbcException - if a JDBC related error occursprotected Command<java.lang.Integer> createCommand()
createCommand in class AbstractStatement<NativeSqlUpdateTerminal,java.lang.Integer>