Module org.jooq
Package org.jooq

Interface ForeignKey<R extends Record,​O extends Record>

  • Type Parameters:
    R - The FOREIGN KEY's owner table record
    O - The referenced KEY's owner table record
    All Superinterfaces:
    Key<R>, Named, QueryPart, Serializable

    public interface ForeignKey<R extends Record,​O extends Record>
    extends Key<R>
    A ForeignKey is an object referencing a UniqueKey. It represents a FOREIGN KEY relationship between two tables.

    Instances of this type cannot be created directly. They are available from generated code.

    Author:
    Lukas Eder