| Package | Description |
|---|---|
| org.sql.generation.api.grammar.builders.definition |
This is package containing builders for syntax elements used in SQL Data Definition statements (typically
CREATE statements). |
| org.sql.generation.api.grammar.definition.table |
This package contains syntax interfaces for
CREATE TABLE statement. |
| Modifier and Type | Method and Description |
|---|---|
ReferentialAction |
ForeignKeyConstraintBuilder.getOnDelete()
Returns the
ON DELETE action for this foreign key constraint. |
ReferentialAction |
ForeignKeyConstraintBuilder.getOnUpdate()
Returns the
ON UPDATE action for this foreign key constraint. |
| Modifier and Type | Method and Description |
|---|---|
ForeignKeyConstraintBuilder |
ForeignKeyConstraintBuilder.setOnDelete(ReferentialAction action)
Sets the
ON DELETE action. |
ForeignKeyConstraintBuilder |
ForeignKeyConstraintBuilder.setOnUpdate(ReferentialAction action)
Sets the
ON UPDATE action. |
| Modifier and Type | Field and Description |
|---|---|
static ReferentialAction |
ReferentialAction.CASCADE
Represents the cascading policy (
CASCADE. |
static ReferentialAction |
ReferentialAction.NO_ACTION
Represents the policy, which checks the integrity after
UPDATE or DELETE statement, and
the statement will not be executed if it violates integrity. |
static ReferentialAction |
ReferentialAction.RESTRICT
Represents the policy, which checks the integrity before
UPDATE or DELETE statement, and
the statement will not be executed if it violates integrity. |
static ReferentialAction |
ReferentialAction.SET_DEFAULT
Represents the policy, which sets the value as default (
SET DEFAULT. |
static ReferentialAction |
ReferentialAction.SET_NULL
Represents the policy, which sets the value as
NULL (SET NULL. |
| Modifier and Type | Method and Description |
|---|---|
ReferentialAction |
ForeignKeyConstraint.getOnDelete()
Returns the referential action of deleting the rows.
|
ReferentialAction |
ForeignKeyConstraint.getOnUpdate()
Returns the referential action of updating the rows.
|
Copyright © 2010-2012. All Rights Reserved.