O'Reilly logo

Oracle in a Nutshell by David C. Kreines, Rick Greenwald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

OracleDatabaseMetaData

Extends the java.lang.Object class and implements the java.sql.DatabaseMetaData JDBC 1.0 DatabaseMetaData interface.

The constructor for this class is:

OracleDatabaseMetaData(OracleConnection conn)

Methods

allProceduresAreCallable( )

Returns a Boolean indicating whether all the procedures returned by getProcedures can be called by the current user.

allTablesAreSelectable( )

Returns a Boolean indicating whether all the tables returned by getTable( ) are SELECTed by the current user.

dataDefinitionCausesTransactionCommit( )

Returns a Boolean indicating whether a DDL statement within a transaction forces the transaction to commit.

dataDefinitionIgnoredInTransactions( )

Returns a Boolean indicating whether a DDL statement within a transaction is ignored.

deletesAreDetected(int type )

Returns a Boolean. Implements JDBC 2.0 DatabaseMetaData.deletesAreDetected.

doesMaxRowSizeIncludeBlobs( )

Returns a Boolean indicating whether the row contains LONGVARCHAR or LONGVARBINARY BLOBs.

getAttributes(java.lang.String catalog , java.lang.String schemaPattern , java.lang.String typeNamePattern , java.lang.String attributeNamePattern )

Returns java.sql.ResultSet that contains a description of the given attribute of the given type for a user-defined type (UDT) that is available in the given schema and catalog. JDBC 3.0. New with Oracle9i.

getBestRowIdentifier(java.lang.String catalog , java.lang.String schema ,java.lang.String table , int scope , boolean nullable )

Returns java.sqlResultSet ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required