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 |
---|---|
ConstraintFinalStep |
onDeleteCascade()
Add an
ON DELETE CASCADE clause to the
FOREIGN KEY constraint. |
ConstraintFinalStep |
onDeleteNoAction()
Add an
ON DELETE NO ACTION clause to the
FOREIGN KEY constraint. |
ConstraintFinalStep |
onDeleteRestrict()
Add an
ON DELETE RESTRICT clause to the
FOREIGN KEY constraint. |
ConstraintFinalStep |
onDeleteSetDefault()
Add an
ON DELETE SET DEFAULT clause to the
FOREIGN KEY constraint. |
ConstraintFinalStep |
onDeleteSetNull()
Add an
ON DELETE SET NULL clause to the
FOREIGN KEY constraint. |
ConstraintFinalStep |
onUpdateCascade()
Add an
ON UPDATE CASCADE clause to the
FOREIGN KEY constraint. |
ConstraintFinalStep |
onUpdateNoAction()
Add an
ON UPDATE NO ACTION clause to the
FOREIGN KEY constraint. |
ConstraintFinalStep |
onUpdateRestrict()
Add an
ON UPDATE RESTRICT clause to the
FOREIGN KEY constraint. |
ConstraintFinalStep |
onUpdateSetDefault()
Add an
ON UPDATE SET DEFAULT clause to the
FOREIGN KEY constraint. |
ConstraintFinalStep |
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}) ConstraintFinalStep 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}) ConstraintFinalStep onDeleteRestrict()
ON DELETE RESTRICT
clause to the
FOREIGN KEY
constraint.@Support ConstraintFinalStep onDeleteCascade()
ON DELETE CASCADE
clause to the
FOREIGN KEY
constraint.@Support ConstraintFinalStep onDeleteSetNull()
ON DELETE SET NULL
clause to the
FOREIGN KEY
constraint.@Support(value={ACCESS,ASE,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,POSTGRES,SQLITE,SQLSERVER,SYBASE}) ConstraintFinalStep 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}) ConstraintFinalStep 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}) ConstraintFinalStep onUpdateRestrict()
ON UPDATE RESTRICT
clause to the
FOREIGN KEY
constraint.@Support(value={ACCESS,ASE,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,POSTGRES,SQLITE,SQLSERVER,SYBASE}) ConstraintFinalStep onUpdateCascade()
ON UPDATE CASCADE
clause to the
FOREIGN KEY
constraint.@Support(value={ACCESS,ASE,CUBRID,DB2,FIREBIRD,H2,HANA,HSQLDB,INFORMIX,INGRES,MARIADB,MYSQL,POSTGRES,SQLITE,SQLSERVER,SYBASE}) ConstraintFinalStep onUpdateSetNull()
ON UPDATE SET NULL
clause to the
FOREIGN KEY
constraint.Copyright © 2017. All Rights Reserved.