public interface GrantToStep
GRANT
statement where the
TO
clause can be added.Modifier and Type | Method and Description |
---|---|
GrantWithGrantOptionStep |
to(Role role)
Grant a privilege to a role.
|
GrantWithGrantOptionStep |
to(User user)
Grant a privilege to a user.
|
GrantWithGrantOptionStep |
toPublic()
Grant a privilege to
PUBLIC . |
@Support(value={AURORA_MYSQL,AURORA_POSTGRES,DERBY,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER}) GrantWithGrantOptionStep to(User user)
@Support(value={AURORA_MYSQL,AURORA_POSTGRES,DERBY,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER}) GrantWithGrantOptionStep to(Role role)
@Support(value={AURORA_MYSQL,AURORA_POSTGRES,DERBY,H2,HSQLDB,MARIADB,MYSQL,ORACLE,POSTGRES,SQLSERVER}) GrantWithGrantOptionStep toPublic()
PUBLIC
.Copyright © 2019. All rights reserved.