Module org.seasar.doma.core
Class NativeSqlUpdateTerminal
java.lang.Object
org.seasar.doma.jdbc.criteria.statement.AbstractStatement<NativeSqlUpdateTerminal,Integer>
org.seasar.doma.jdbc.criteria.statement.NativeSqlUpdateTerminal
-
Field Summary
Fields inherited from class org.seasar.doma.jdbc.criteria.statement.AbstractStatement
config, EXECUTE_METHOD, EXECUTE_METHOD_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()Executes the SQL statement.where(Consumer<WhereDeclaration> block) Methods inherited from class org.seasar.doma.jdbc.criteria.statement.AbstractStatement
asSql, createCommenter, peek
-
Constructor Details
-
NativeSqlUpdateTerminal
-
-
Method Details
-
where
-
execute
Executes the SQL statement.- Specified by:
executein interfaceStatement<Integer>- Overrides:
executein classAbstractStatement<NativeSqlUpdateTerminal,Integer> - Returns:
- the result
- Throws:
EmptyWhereClauseException- ifUpdateSettings.getAllowEmptyWhere()returns false and the WHERE clause is emptyUniqueConstraintException- if an unique constraint is violatedJdbcException- if a JDBC related error occurs
-
createCommand
- Specified by:
createCommandin classAbstractStatement<NativeSqlUpdateTerminal,Integer>
-