Module org.jooq
Package org.jooq

Interface Identity<R extends Record,​T>

  • Type Parameters:
    R - The IDENTITY's owner table record
    T - The IDENTITY's field type
    All Superinterfaces:
    Serializable

    public interface Identity<R extends Record,​T>
    extends Serializable
    An Identity is an object representing an IDENTITY column as understood by the SQL:2003 standard. In most RDBMS, this is actually called an IDENTITY column. Some RDMBS such as MySQL call it AUTO_INCREMENT columns.

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

    Author:
    Lukas Eder
    • Method Detail

      • getTable

        Table<R> getTable()
        The IDENTITY's owner table
      • getField

        TableField<R,​T> getField()
        The IDENTITY column.