Deprecated
as a consequence of ConstraintEnforcementStep being deprecated. See corresponding docs for further information.
Constraint construction DSL API that allows for
adding ON DELETE and ON UPDATE clauses.
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 ConstraintForeignKeyOnStep | onDeleteCascade()
Deprecated
as a consequence of
Add an ConstraintForeignKeyOnStep being deprecated.
ON DELETE CASCADE clause to the
FOREIGN KEY constraint.
|
| public @NotNull ConstraintForeignKeyOnStep | onDeleteNoAction()
Deprecated
as a consequence of
Add an ConstraintForeignKeyOnStep being deprecated.
ON DELETE NO ACTION clause to the
FOREIGN KEY constraint.
|
| public @NotNull ConstraintForeignKeyOnStep | onDeleteRestrict()
Deprecated
as a consequence of
Add an ConstraintForeignKeyOnStep being deprecated.
ON DELETE RESTRICT clause to the
FOREIGN KEY constraint.
|
| public @NotNull ConstraintForeignKeyOnStep | onDeleteSetDefault()
Deprecated
as a consequence of
Add an ConstraintForeignKeyOnStep being deprecated.
ON DELETE SET DEFAULT clause to the
FOREIGN KEY constraint.
|
| public @NotNull ConstraintForeignKeyOnStep | onDeleteSetNull()
Deprecated
as a consequence of
Add an ConstraintForeignKeyOnStep being deprecated.
ON DELETE SET NULL clause to the
FOREIGN KEY constraint.
|
| public @NotNull ConstraintForeignKeyOnStep | onUpdateCascade()
Deprecated
as a consequence of
Add an ConstraintForeignKeyOnStep being deprecated.
ON UPDATE CASCADE clause to the
FOREIGN KEY constraint.
|
| public @NotNull ConstraintForeignKeyOnStep | onUpdateNoAction()
Deprecated
as a consequence of
Add an ConstraintForeignKeyOnStep being deprecated.
ON UPDATE NO ACTION clause to the
FOREIGN KEY constraint.
|
| public @NotNull ConstraintForeignKeyOnStep | onUpdateRestrict()
Deprecated
as a consequence of
Add an ConstraintForeignKeyOnStep being deprecated.
ON UPDATE RESTRICT clause to the
FOREIGN KEY constraint.
|
| public @NotNull ConstraintForeignKeyOnStep | onUpdateSetDefault()
Deprecated
as a consequence of
Add an ConstraintForeignKeyOnStep being deprecated.
ON UPDATE SET DEFAULT clause to the
FOREIGN KEY constraint.
|
| public @NotNull ConstraintForeignKeyOnStep | onUpdateSetNull()
Deprecated
as a consequence of
Add an ConstraintForeignKeyOnStep being deprecated.
ON UPDATE SET NULL clause to the
FOREIGN KEY constraint.
|
| onDeleteCascade | back to summary |
|---|---|
| public @NotNull ConstraintForeignKeyOnStep onDeleteCascade()
Deprecated as a consequence of Add an | |
| onDeleteNoAction | back to summary |
|---|---|
| public @NotNull ConstraintForeignKeyOnStep onDeleteNoAction()
Deprecated as a consequence of Add an
This is the standard action according to the SQL standard. If a given
| |
| onDeleteRestrict | back to summary |
|---|---|
| public @NotNull ConstraintForeignKeyOnStep onDeleteRestrict()
Deprecated as a consequence of Add an | |
| onDeleteSetDefault | back to summary |
|---|---|
| public @NotNull ConstraintForeignKeyOnStep onDeleteSetDefault()
Deprecated as a consequence of Add an | |
| onDeleteSetNull | back to summary |
|---|---|
| public @NotNull ConstraintForeignKeyOnStep onDeleteSetNull()
Deprecated as a consequence of Add an | |
| onUpdateCascade | back to summary |
|---|---|
| public @NotNull ConstraintForeignKeyOnStep onUpdateCascade()
Deprecated as a consequence of Add an | |
| onUpdateNoAction | back to summary |
|---|---|
| public @NotNull ConstraintForeignKeyOnStep onUpdateNoAction()
Deprecated as a consequence of Add an
This is the standard action according to the SQL standard. If a given
| |
| onUpdateRestrict | back to summary |
|---|---|
| public @NotNull ConstraintForeignKeyOnStep onUpdateRestrict()
Deprecated as a consequence of Add an | |
| onUpdateSetDefault | back to summary |
|---|---|
| public @NotNull ConstraintForeignKeyOnStep onUpdateSetDefault()
Deprecated as a consequence of Add an | |
| onUpdateSetNull | back to summary |
|---|---|
| public @NotNull ConstraintForeignKeyOnStep onUpdateSetNull()
Deprecated as a consequence of Add an | |