public final class GetColumnPrivileges
extends java.lang.Object
DatabaseMetaData.getColumnPrivileges(String, String, String, String)
.
This implementation returns all privileges, not just from the current user. The JDBC specification is not
clear on this. Looking at the Schemata (SQL standard book 11) definition of the COLUMN_PRIVILEGES
view, possibly this should be restricted to the current user and user PUBLIC
(and maybe active roles). This
may change in a future version.
Modifier and Type | Field and Description |
---|---|
protected DbMetadataMediator |
mediator |
Modifier and Type | Method and Description |
---|---|
static GetColumnPrivileges |
create(DbMetadataMediator mediator) |
java.sql.ResultSet |
getColumnPrivileges(java.lang.String table,
java.lang.String columnNamePattern) |
protected final DbMetadataMediator mediator
public java.sql.ResultSet getColumnPrivileges(java.lang.String table, java.lang.String columnNamePattern) throws java.sql.SQLException
java.sql.SQLException
DatabaseMetaData.getColumnPrivileges(String, String, String, String)
public static GetColumnPrivileges create(DbMetadataMediator mediator)
Copyright © 2001-2024 Jaybird (Firebird JDBC) team. All rights reserved.