public interface ConstraintForeignKeyOnStep extends ConstraintFinalStep
Constraint
construction DSL API that allows for
adding ON DELETE
and ON UPDATE
clauses.Modifier and Type | Method and Description |
---|---|
ConstraintForeignKeyOnStep |
onDeleteCascade()
Add an
ON DELETE CASCADE clause to the
FOREIGN KEY constraint. |
ConstraintForeignKeyOnStep |
onDeleteNoAction()
Add an
ON DELETE NO ACTION clause to the
FOREIGN KEY constraint. |
ConstraintForeignKeyOnStep |
onDeleteRestrict()
Add an
ON DELETE RESTRICT clause to the
FOREIGN KEY constraint. |
ConstraintForeignKeyOnStep |
onDeleteSetDefault()
Add an
ON DELETE SET DEFAULT clause to the
FOREIGN KEY constraint. |
ConstraintForeignKeyOnStep |
onDeleteSetNull()
Add an
ON DELETE SET NULL clause to the
FOREIGN KEY constraint. |
ConstraintForeignKeyOnStep |
onUpdateCascade()
Add an
ON UPDATE CASCADE clause to the
FOREIGN KEY constraint. |
ConstraintForeignKeyOnStep |
onUpdateNoAction()
Add an
ON UPDATE NO ACTION clause to the
FOREIGN KEY constraint. |
ConstraintForeignKeyOnStep |
onUpdateRestrict()
Add an
ON UPDATE RESTRICT clause to the
FOREIGN KEY constraint. |
ConstraintForeignKeyOnStep |
onUpdateSetDefault()
Add an
ON UPDATE SET DEFAULT clause to the
FOREIGN KEY constraint. |
ConstraintForeignKeyOnStep |
onUpdateSetNull()
Add an
ON UPDATE SET NULL clause to the
FOREIGN KEY constraint. |
@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,POSTGRES,SQLITE,SQLSERVER,SYBASE}) ConstraintForeignKeyOnStep onDeleteNoAction()
ON DELETE NO ACTION
clause to the
FOREIGN KEY
constraint.@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,POSTGRES,SQLITE,SYBASE}) ConstraintForeignKeyOnStep onDeleteRestrict()
ON DELETE RESTRICT
clause to the
FOREIGN KEY
constraint.@Support ConstraintForeignKeyOnStep onDeleteCascade()
ON DELETE CASCADE
clause to the
FOREIGN KEY
constraint.@Support ConstraintForeignKeyOnStep onDeleteSetNull()
ON DELETE SET NULL
clause to the
FOREIGN KEY
constraint.@Support(value={ACCESS,ASE,CUBRID,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,POSTGRES,SQLITE,SQLSERVER,SYBASE}) ConstraintForeignKeyOnStep onDeleteSetDefault()
ON DELETE SET DEFAULT
clause to the
FOREIGN KEY
constraint.@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,POSTGRES,SQLITE,SQLSERVER,SYBASE}) ConstraintForeignKeyOnStep onUpdateNoAction()
ON UPDATE NO ACTION
clause to the
FOREIGN KEY
constraint.@Support(value={ACCESS,ASE,CUBRID,DB2,DERBY,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,POSTGRES,SQLITE,SYBASE}) ConstraintForeignKeyOnStep onUpdateRestrict()
ON UPDATE RESTRICT
clause to the
FOREIGN KEY
constraint.@Support(value={ACCESS,ASE,CUBRID,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,POSTGRES,SQLITE,SQLSERVER,SYBASE}) ConstraintForeignKeyOnStep onUpdateCascade()
ON UPDATE CASCADE
clause to the
FOREIGN KEY
constraint.@Support(value={ACCESS,ASE,CUBRID,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,POSTGRES,SQLITE,SQLSERVER,SYBASE}) ConstraintForeignKeyOnStep onUpdateSetNull()
ON UPDATE SET NULL
clause to the
FOREIGN KEY
constraint.Copyright © 2018. All Rights Reserved.