Module org.jooq
Package org.jooq

Interface User

  • All Superinterfaces:
    Named, QueryPart, Serializable

    public interface User
    extends Named
    A privilege for use in GRANT and REVOKE statements.

    Example:

     // Assuming import static org.jooq.impl.DSL.*;
    
     using(configuration)
        .grant(privilege("SELECT"))
        .on(ACTOR)
        .to(user("MY_USER"))
        .execute();
     

    Instances can be created using DSL.user(Name) and overloads.

    Author:
    Timur Shaidullin