Module org.jooq
Package org.jooq

Interface Name

  • All Superinterfaces:
    QueryPart, Serializable

    public interface Name
    extends QueryPart
    An identifier.

    A Name or identifier is a QueryPart that renders a SQL identifier according to the settings specified in Settings.getRenderQuotedNames() and Settings.getRenderNameCase().

    Example:

     // Assuming import static org.jooq.impl.DSL.*;
    
     using(configuration)
        .select(
             field(name("FIRST_NAME"), SQLDataType.VARCHAR),
             field(name("LAST_NAME"), SQLDataType.VARCHAR))
        .from(table(name("ACTOR")))
        .fetch();
     

    Instances can be created using DSL.name(String) and overloads.

    Author:
    Lukas Eder