Skip to Main Content
JDBC Pocket Reference
book

JDBC Pocket Reference

by Donald Bales
January 2003
Intermediate to advanced content levelIntermediate to advanced
176 pages
5h 3m
English
O'Reilly Media, Inc.
Content preview from JDBC Pocket Reference
DatabaseMetaData
The JDBC API
|
83
TYPE_SCHEM
A String value of the UDT’s schema name (may be null)
TYPE_NAME
A String value of the UDT’s type name
SUPERTYPE_CAT
A String value of the direct super type’s catalog name
(may be null)
SUPERTYPE_SCHEM
A String value of the direct super type’s schema name
(may be null)
SUPERTYPE_NAME
A String value of the direct super type’s name (Java 1.4)
String getSystemFunctions( )
Returns a comma-separated list of the database’s system
functions.
ResultSet getTablePrivileges(String catalog,
String schemaPattern, String tableNamePattern)
Returns a result set that describes the access rights for each
table available in a catalog. The result set is defined as
follows:
TABLE_CAT
A String value of the table’s catalog name (may be null)
TABLE_SCHEM
A String value of the table’s schema name (may be null)
TABLE_NAME
A String value of the table’s name
GRANTOR
A String value indicating the grantor of access (may be
null)
GRANTEE
A String value indicating the grantee of access
PRIVILEGE
A String value with the name of an access privilege
(SELECT, INSERT, UPDATE, REFRENCES, etc.)
IS_GRANTABLE
A String value that describes whether the privilege is
grantable by the grantee. It is
YES if grantable, otherwise
NO, or null if the grantability is unknown.
DatabaseMetaData
84
|
JDBC Pocket Reference
ResultSet getTables(String ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro Couchbase Server, Second Edition

Pro Couchbase Server, Second Edition

David Ostrovsky, Mohammed Haji, Yaniv Rodenski
Pro Couchbase Server

Pro Couchbase Server

David Ostrovsky, Yaniv Rodenski

Publisher Resources

ISBN: 9780596528713