
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)