Deprecated
as a consequence of UpdateOrderByStep being deprecated. See corresponding docs for further information.
Update's DSL API.
Example:
DSLContext create = DSL.using(configuration);
create.update(table)
.set(field1, value1)
.set(field2, value2)
.where(field1.greaterThan(100))
.execute();
XYZ*Step types directly from client code
It is usually not recommended to reference any XYZ*Step types
directly from client code, or assign them to local variables. When writing
dynamic SQL, creating a statement's components dynamically, and passing them
to the DSL API statically is usually a better choice. See the manual's
section about dynamic SQL for details: https://www.jooq.org/doc/latest/manual/sql-building/dynamic-sql.
Drawbacks of referencing the XYZ*Step types directly:
| Modifier and Type | Method and Description |
|---|---|
| public @NotNull UpdateConditionStep | and(Condition condition)
Deprecated
as a consequence of
Combine the currently assembled conditions with another one using the
Condition and UpdateConditionStep being deprecated.
Operator#AND operator
|
| public @NotNull UpdateConditionStep | and(Field<Boolean> condition)
Deprecated
as a consequence of
Combine the currently assembled conditions with another one using the
Field and UpdateConditionStep being deprecated.
Operator#AND operator
|
| public @NotNull UpdateConditionStep | and(SQL sql)
Deprecated
as a consequence of
Combine the currently assembled conditions with another one using the
UpdateConditionStep being deprecated.
Operator#AND operatorNote When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. |
| public @NotNull UpdateConditionStep | and(String sql)
Deprecated
as a consequence of
Combine the currently assembled conditions with another one using the
UpdateConditionStep being deprecated.
Operator#AND operatorNote When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. |
| public @NotNull UpdateConditionStep | and(String sql, Object... bindings)
Deprecated
as a consequence of
Combine the currently assembled conditions with another one using the
UpdateConditionStep being deprecated.
Operator#AND operatorNote When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. |
| public @NotNull UpdateConditionStep | and(String sql, QueryPart... parts)
Deprecated
as a consequence of
Combine the currently assembled conditions with another one using the
UpdateConditionStep being deprecated.
Operator#AND operatorNote When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. |
| public @NotNull UpdateConditionStep | andExists(Select<?> select)
Deprecated
as a consequence of
Combine the currently assembled conditions with an EXISTS clause using
the UpdateConditionStep being deprecated.
Operator#AND operator
|
| public @NotNull UpdateConditionStep | andNot(Condition condition)
Deprecated
as a consequence of
Combine the currently assembled conditions with a negated other one using
the Condition and UpdateConditionStep being deprecated.
Operator#AND operator
|
| public @NotNull UpdateConditionStep | andNot(Field<Boolean> condition)
Deprecated
as a consequence of
Combine the currently assembled conditions with a negated other one using
the Field and UpdateConditionStep being deprecated.
Operator#AND operator
|
| public @NotNull UpdateConditionStep | andNotExists(Select<?> select)
Deprecated
as a consequence of
Combine the currently assembled conditions with a NOT EXISTS clause using
the UpdateConditionStep being deprecated.
Operator#AND operator
|
| public @NotNull UpdateConditionStep | or(Condition condition)
Deprecated
as a consequence of
Combine the currently assembled conditions with another one using the
Condition and UpdateConditionStep being deprecated.
Operator#OR operator
|
| public @NotNull UpdateConditionStep | or(Field<Boolean> condition)
Deprecated
as a consequence of
Combine the currently assembled conditions with another one using the
Field and UpdateConditionStep being deprecated.
Operator#OR operator
|
| public @NotNull UpdateConditionStep | or(SQL sql)
Deprecated
as a consequence of
Combine the currently assembled conditions with another one using the
UpdateConditionStep being deprecated.
Operator#OR operatorNote When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. |
| public @NotNull UpdateConditionStep | or(String sql)
Deprecated
as a consequence of
Combine the currently assembled conditions with another one using the
UpdateConditionStep being deprecated.
Operator#OR operatorNote When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. |
| public @NotNull UpdateConditionStep | or(String sql, Object... bindings)
Deprecated
as a consequence of
Combine the currently assembled conditions with another one using the
UpdateConditionStep being deprecated.
Operator#OR operatorNote When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. |
| public @NotNull UpdateConditionStep | or(String sql, QueryPart... parts)
Deprecated
as a consequence of
Combine the currently assembled conditions with another one using the
UpdateConditionStep being deprecated.
Operator#OR operatorNote When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. |
| public @NotNull UpdateConditionStep | orExists(Select<?> select)
Deprecated
as a consequence of
Combine the currently assembled conditions with an EXISTS clause using
the UpdateConditionStep being deprecated.
Operator#OR operator
|
| public @NotNull UpdateConditionStep | orNot(Condition condition)
Deprecated
as a consequence of
Combine the currently assembled conditions with a negated other one using
the Condition and UpdateConditionStep being deprecated.
Operator#OR operator
|
| public @NotNull UpdateConditionStep | orNot(Field<Boolean> condition)
Deprecated
as a consequence of
Combine the currently assembled conditions with a negated other one using
the Field and UpdateConditionStep being deprecated.
Operator#OR operator
|
| public @NotNull UpdateConditionStep | orNotExists(Select<?> select)
Deprecated
as a consequence of
Combine the currently assembled conditions with a NOT EXISTS clause using
the UpdateConditionStep being deprecated.
Operator#OR operator
|
| and | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with another one using the
| |
| and | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with another one using the
| |
| and | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with another one using the
Note When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
| |
| and | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with another one using the
Note When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
| |
| and | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with another one using the
Note When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
| |
| and | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with another one using the
Note When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
| |
| andExists | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with an EXISTS clause using
the
| |
| andNot | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with a negated other one using
the
| |
| andNot | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with a negated other one using
the
| |
| andNotExists | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with a NOT EXISTS clause using
the
| |
| or | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with another one using the
| |
| or | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with another one using the
| |
| or | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with another one using the
Note When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
| |
| or | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with another one using the
Note When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
| |
| or | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with another one using the
Note When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
| |
| or | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with another one using the
Note When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!
| |
| orExists | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with an EXISTS clause using
the
| |
| orNot | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with a negated other one using
the
| |
| orNot | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with a negated other one using
the
| |
| orNotExists | back to summary |
|---|---|
| public @NotNull UpdateConditionStep Deprecated as a consequence of Combine the currently assembled conditions with a NOT EXISTS clause using
the
| |