-
- All Superinterfaces:
QueryPart,Serializable
public interface Role extends QueryPart
A privilege for use inGRANTandREVOKEstatements.Example:
// Assuming import static org.jooq.impl.DSL.*; using(configuration) .grant(privilege("SELECT")) .on(ACTOR) .to(role("MY_ROLE")) .execute();Instances can be created using
DSL.role(Name)and overloads.- Author:
- Timur Shaidullin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()The name of the role.
-
-
-
Method Detail
-
getName
String getName()
The name of the role.
-
-