Top Description Methods
org.jooq

public Interface ConstraintForeignKeyReferencesStep2<T1, T2>

Known Direct Implementers
org.jooq.impl.ConstraintImpl
Static Imports
org.jooq.SQLDialect.*

The step in the Constraint construction DSL API that allows for matching a FOREIGN KEY clause with a REFERENCES clause.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public @NotNull ConstraintForeignKeyOnStep
references(String table)

Deprecated as a consequence of ConstraintForeignKeyOnStep being deprecated.
Add a REFERENCES clause to the CONSTRAINT, implicitly referencing the primary key.
public @NotNull ConstraintForeignKeyOnStep
references(String table, String field1, String field2)

Deprecated as a consequence of ConstraintForeignKeyOnStep being deprecated.
Add a REFERENCES clause to the CONSTRAINT, referencing a key by column names.
public @NotNull ConstraintForeignKeyOnStep
references(Name table)

Deprecated as a consequence of ConstraintForeignKeyOnStep being deprecated.
Add a REFERENCES clause to the CONSTRAINT, implicitly referencing the primary key.
public @NotNull ConstraintForeignKeyOnStep
references(Name table, Name field1, Name field2)

Deprecated as a consequence of ConstraintForeignKeyOnStep being deprecated.
Add a REFERENCES clause to the CONSTRAINT, referencing a key by column names.
public @NotNull ConstraintForeignKeyOnStep
references(Table<?> table)

Deprecated as a consequence of ConstraintForeignKeyOnStep being deprecated.
Add a REFERENCES clause to the CONSTRAINT, implicitly referencing the primary key.
public @NotNull ConstraintForeignKeyOnStep
references(Table<?> table, Field<T1> field1, Field<T2> field2)

Deprecated as a consequence of Field and ConstraintForeignKeyOnStep being deprecated.
Add a REFERENCES clause to the CONSTRAINT, referencing a key by column names.

Method Detail

referencesback to summary
public @NotNull ConstraintForeignKeyOnStep references(String table)

Deprecated

as a consequence of ConstraintForeignKeyOnStep being deprecated. See corresponding docs for further information.

Add a REFERENCES clause to the CONSTRAINT, implicitly referencing the primary key.

Annotations
@NotNull
@Support
referencesback to summary
public @NotNull ConstraintForeignKeyOnStep references(String table, String field1, String field2)

Deprecated

as a consequence of ConstraintForeignKeyOnStep being deprecated. See corresponding docs for further information.

Add a REFERENCES clause to the CONSTRAINT, referencing a key by column names.

Annotations
@NotNull
@Support
referencesback to summary
public @NotNull ConstraintForeignKeyOnStep references(Name table)

Deprecated

as a consequence of ConstraintForeignKeyOnStep being deprecated. See corresponding docs for further information.

Add a REFERENCES clause to the CONSTRAINT, implicitly referencing the primary key.

Annotations
@NotNull
@Support
referencesback to summary
public @NotNull ConstraintForeignKeyOnStep references(Name table, Name field1, Name field2)

Deprecated

as a consequence of ConstraintForeignKeyOnStep being deprecated. See corresponding docs for further information.

Add a REFERENCES clause to the CONSTRAINT, referencing a key by column names.

Annotations
@NotNull
@Support
referencesback to summary
public @NotNull ConstraintForeignKeyOnStep references(Table<?> table)

Deprecated

as a consequence of ConstraintForeignKeyOnStep being deprecated. See corresponding docs for further information.

Add a REFERENCES clause to the CONSTRAINT, implicitly referencing the primary key.

Annotations
@NotNull
@Support
referencesback to summary
public @NotNull ConstraintForeignKeyOnStep references(Table<?> table, Field<T1> field1, Field<T2> field2)

Deprecated

as a consequence of Field and ConstraintForeignKeyOnStep being deprecated. See corresponding docs for further information.

Add a REFERENCES clause to the CONSTRAINT, referencing a key by column names.

Annotations
@NotNull
@Support