public class DB_GrantRevoke extends Object
| Constructor and Description |
|---|
DB_GrantRevoke() |
| Modifier and Type | Method and Description |
|---|---|
static void |
doAuthorizations(Connection conn)
Generate Grant & Revoke statements if sqlAuthorization is on
|
static void |
generateRoutinePrivs(ResultSet rs)
Generate routine privilege statements
|
static void |
generateUDTPrivs(ResultSet rs)
Generate udt privilege statements
|
public static void doAuthorizations(Connection conn) throws SQLException
conn - Connection to useSQLExceptionpublic static void generateUDTPrivs(ResultSet rs) throws SQLException
rs - ResultSet holding required informationSQLExceptionpublic static void generateRoutinePrivs(ResultSet rs) throws SQLException
rs - ResultSet holding required informationSQLExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.