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
|
73
int getDatabaseMajorVersion( )
Returns the major version number of the database. (Java 1.4)
int getDatabaseMinorVersion( )
Returns the minor version number of the database. (Java 1.4)
int getDefaultTransactionIsolation( )
Returns the database’s default transaction isolation level. It
can be one of the following constants:
TRANSACTION_NONE
TRANSACTION_READ_COMMITTED
TRANSACTION_READ_UNCOMMITTED
TRANSACTION_REPEATABLE_READ
TRANSACTION_SERIALIZABLE
int getDriverMajorVersion( )
Returns the JDBC driver’s major version number.
int getDriverMinorVersion( )
Returns the JDBC driver’s minor version number.
String getDriverName( )
Returns the JDBC driver’s name.
String getDriverVersion( )
Returns the JDBC driver’s version number.
ResultSet getExportedKeys(String catalog, String schema,
String table)
Returns a result set that describes the foreign key columns
that reference the specified table’s primary key. The result set
is defined as follows:
PKTABLE_CAT
A String value of the primary key catalog name (may be
null)
PKTABLE_SCHEM
A String value of the primary key schema name (may be
null)
PKTABLE_NAME
A String value of the primary key table name
PKCOLUMN_NAME
A String value of a primary key column name
FKTABLE_CAT
A String value of the foreign key catalog name (may be
null)
DatabaseMetaData
74
|
JDBC ...
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