java.sql
Interface DatabaseMetaData


public interface DatabaseMetaData

Comprehensive information about the database as a whole.

This interface is implemented by driver vendors to let users know the capabilities of a Database Management System (DBMS) in combination with the driver based on JDBCTM technology ("JDBC driver") that is used with it. Different relational DBMSs often support different features, implement features in different ways, and use different data types. In addition, a driver may implement a feature on top of what the DBMS offers. Information returned by methods in this interface applies to the capabilities of a particular driver and a particular DBMS working together. Note that as used in this documentation, the term "database" is used generically to refer to both the driver and DBMS.

A user for this interface is commonly a tool that needs to discover how to deal with the underlying DBMS. This is especially true for applications that are intended to be used with more than one DBMS. For example, a tool might use the method getTypeInfo to find out what data types can be used in a CREATE TABLE statement. Or a user might call the method supportsCorrelatedSubqueries to see if it is possible to use a correlated subquery or supportsBatchUpdates to see if it is possible to use batch updates.

Some DatabaseMetaData methods return lists of information in the form of ResultSet objects. Regular ResultSet methods, such as getString and getInt, can be used to retrieve the data from these ResultSet objects. If a given form of metadata is not available, the ResultSet getter methods throw an SQLException.

Some DatabaseMetaData methods take arguments that are String patterns. These arguments all have names such as fooPattern. Within a pattern String, "%" means match any substring of 0 or more characters, and "_" means match any one character. Only metadata entries matching the search pattern are returned. If a search pattern argument is set to null, that argument's criterion will be dropped from the search.

A method that gets information about a feature that the driver does not support will throw an SQLException. In the case of methods that return a ResultSet object, either a ResultSet object (which may be empty) is returned or an SQLException is thrown.


Field Summary
static short attributeNoNulls sample code for java.sql.DatabaseMetaData.attributeNoNulls definition code for java.sql.DatabaseMetaData.attributeNoNulls
          Indicates that NULL values might not be allowed.
static short attributeNullable sample code for java.sql.DatabaseMetaData.attributeNullable definition code for java.sql.DatabaseMetaData.attributeNullable
          Indicates that NULL values are definitely allowed.
static short attributeNullableUnknown sample code for java.sql.DatabaseMetaData.attributeNullableUnknown definition code for java.sql.DatabaseMetaData.attributeNullableUnknown
          Indicates that whether NULL values are allowed is not known.
static int bestRowNotPseudo sample code for java.sql.DatabaseMetaData.bestRowNotPseudo definition code for java.sql.DatabaseMetaData.bestRowNotPseudo
          Indicates that the best row identifier is NOT a pseudo column.
static int bestRowPseudo sample code for java.sql.DatabaseMetaData.bestRowPseudo definition code for java.sql.DatabaseMetaData.bestRowPseudo
          Indicates that the best row identifier is a pseudo column.
static int bestRowSession sample code for java.sql.DatabaseMetaData.bestRowSession definition code for java.sql.DatabaseMetaData.bestRowSession
          Indicates that the scope of the best row identifier is the remainder of the current session.
static int bestRowTemporary sample code for java.sql.DatabaseMetaData.bestRowTemporary definition code for java.sql.DatabaseMetaData.bestRowTemporary
          Indicates that the scope of the best row identifier is very temporary, lasting only while the row is being used.
static int bestRowTransaction sample code for java.sql.DatabaseMetaData.bestRowTransaction definition code for java.sql.DatabaseMetaData.bestRowTransaction
          Indicates that the scope of the best row identifier is the remainder of the current transaction.
static int bestRowUnknown sample code for java.sql.DatabaseMetaData.bestRowUnknown definition code for java.sql.DatabaseMetaData.bestRowUnknown
          Indicates that the best row identifier may or may not be a pseudo column.
static int columnNoNulls sample code for java.sql.DatabaseMetaData.columnNoNulls definition code for java.sql.DatabaseMetaData.columnNoNulls
          Indicates that the column might not allow NULL values.
static int columnNullable sample code for java.sql.DatabaseMetaData.columnNullable definition code for java.sql.DatabaseMetaData.columnNullable
          Indicates that the column definitely allows NULL values.
static int columnNullableUnknown sample code for java.sql.DatabaseMetaData.columnNullableUnknown definition code for java.sql.DatabaseMetaData.columnNullableUnknown
          Indicates that the nullability of columns is unknown.
static int importedKeyCascade sample code for java.sql.DatabaseMetaData.importedKeyCascade definition code for java.sql.DatabaseMetaData.importedKeyCascade
          For the column UPDATE_RULE, indicates that when the primary key is updated, the foreign key (imported key) is changed to agree with it.
static int importedKeyInitiallyDeferred sample code for java.sql.DatabaseMetaData.importedKeyInitiallyDeferred definition code for java.sql.DatabaseMetaData.importedKeyInitiallyDeferred
          Indicates deferrability.
static int importedKeyInitiallyImmediate sample code for java.sql.DatabaseMetaData.importedKeyInitiallyImmediate definition code for java.sql.DatabaseMetaData.importedKeyInitiallyImmediate
          Indicates deferrability.
static int importedKeyNoAction sample code for java.sql.DatabaseMetaData.importedKeyNoAction definition code for java.sql.DatabaseMetaData.importedKeyNoAction
          For the columns UPDATE_RULE and DELETE_RULE, indicates that if the primary key has been imported, it cannot be updated or deleted.
static int importedKeyNotDeferrable sample code for java.sql.DatabaseMetaData.importedKeyNotDeferrable definition code for java.sql.DatabaseMetaData.importedKeyNotDeferrable
          Indicates deferrability.
static int importedKeyRestrict sample code for java.sql.DatabaseMetaData.importedKeyRestrict definition code for java.sql.DatabaseMetaData.importedKeyRestrict
          For the column UPDATE_RULE, indicates that a primary key may not be updated if it has been imported by another table as a foreign key.
static int importedKeySetDefault sample code for java.sql.DatabaseMetaData.importedKeySetDefault definition code for java.sql.DatabaseMetaData.importedKeySetDefault
          For the columns UPDATE_RULE and DELETE_RULE, indicates that if the primary key is updated or deleted, the foreign key (imported key) is set to the default value.
static int importedKeySetNull sample code for java.sql.DatabaseMetaData.importedKeySetNull definition code for java.sql.DatabaseMetaData.importedKeySetNull
          For the columns UPDATE_RULE and DELETE_RULE, indicates that when the primary key is updated or deleted, the foreign key (imported key) is changed to NULL.
static int procedureColumnIn sample code for java.sql.DatabaseMetaData.procedureColumnIn definition code for java.sql.DatabaseMetaData.procedureColumnIn
          Indicates that the column stores IN parameters.
static int procedureColumnInOut sample code for java.sql.DatabaseMetaData.procedureColumnInOut definition code for java.sql.DatabaseMetaData.procedureColumnInOut
          Indicates that the column stores INOUT parameters.
static int procedureColumnOut sample code for java.sql.DatabaseMetaData.procedureColumnOut definition code for java.sql.DatabaseMetaData.procedureColumnOut
          Indicates that the column stores OUT parameters.
static int procedureColumnResult sample code for java.sql.DatabaseMetaData.procedureColumnResult definition code for java.sql.DatabaseMetaData.procedureColumnResult
          Indicates that the column stores results.
static int procedureColumnReturn sample code for java.sql.DatabaseMetaData.procedureColumnReturn definition code for java.sql.DatabaseMetaData.procedureColumnReturn
          Indicates that the column stores return values.
static int procedureColumnUnknown sample code for java.sql.DatabaseMetaData.procedureColumnUnknown definition code for java.sql.DatabaseMetaData.procedureColumnUnknown
          Indicates that type of the column is unknown.
static int procedureNoNulls sample code for java.sql.DatabaseMetaData.procedureNoNulls definition code for java.sql.DatabaseMetaData.procedureNoNulls
          Indicates that NULL values are not allowed.
static int procedureNoResult sample code for java.sql.DatabaseMetaData.procedureNoResult definition code for java.sql.DatabaseMetaData.procedureNoResult
          Indicates that the procedure does not return a result.
static int procedureNullable sample code for java.sql.DatabaseMetaData.procedureNullable definition code for java.sql.DatabaseMetaData.procedureNullable
          Indicates that NULL values are allowed.
static int procedureNullableUnknown sample code for java.sql.DatabaseMetaData.procedureNullableUnknown definition code for java.sql.DatabaseMetaData.procedureNullableUnknown
          Indicates that whether NULL values are allowed is unknown.
static int procedureResultUnknown sample code for java.sql.DatabaseMetaData.procedureResultUnknown definition code for java.sql.DatabaseMetaData.procedureResultUnknown
          Indicates that it is not known whether the procedure returns a result.
static int procedureReturnsResult sample code for java.sql.DatabaseMetaData.procedureReturnsResult definition code for java.sql.DatabaseMetaData.procedureReturnsResult
          Indicates that the procedure returns a result.
static int sqlStateSQL99 sample code for java.sql.DatabaseMetaData.sqlStateSQL99 definition code for java.sql.DatabaseMetaData.sqlStateSQL99
          Indicates that the value is an SQL99 SQLSTATE value.
static int sqlStateXOpen sample code for java.sql.DatabaseMetaData.sqlStateXOpen definition code for java.sql.DatabaseMetaData.sqlStateXOpen
          Indicates that the value is an X/Open (now know as Open Group) SQL CLI SQLSTATE value.
static short tableIndexClustered sample code for java.sql.DatabaseMetaData.tableIndexClustered definition code for java.sql.DatabaseMetaData.tableIndexClustered
          Indicates that this table index is a clustered index.
static short tableIndexHashed sample code for java.sql.DatabaseMetaData.tableIndexHashed definition code for java.sql.DatabaseMetaData.tableIndexHashed
          Indicates that this table index is a hashed index.
static short tableIndexOther sample code for java.sql.DatabaseMetaData.tableIndexOther definition code for java.sql.DatabaseMetaData.tableIndexOther
          Indicates that this table index is not a clustered index, a hashed index, or table statistics; it is something other than these.
static short tableIndexStatistic sample code for java.sql.DatabaseMetaData.tableIndexStatistic definition code for java.sql.DatabaseMetaData.tableIndexStatistic
          Indicates that this column contains table statistics that are returned in conjunction with a table's index descriptions.
static int typeNoNulls sample code for java.sql.DatabaseMetaData.typeNoNulls definition code for java.sql.DatabaseMetaData.typeNoNulls
          Indicates that a NULL value is NOT allowed for this data type.
static int typeNullable sample code for java.sql.DatabaseMetaData.typeNullable definition code for java.sql.DatabaseMetaData.typeNullable
          Indicates that a NULL value is allowed for this data type.
static int typeNullableUnknown sample code for java.sql.DatabaseMetaData.typeNullableUnknown definition code for java.sql.DatabaseMetaData.typeNullableUnknown
          Indicates that it is not known whether a NULL value is allowed for this data type.
static int typePredBasic sample code for java.sql.DatabaseMetaData.typePredBasic definition code for java.sql.DatabaseMetaData.typePredBasic
          Indicates that one can base all WHERE search clauses except WHERE .
static int typePredChar sample code for java.sql.DatabaseMetaData.typePredChar definition code for java.sql.DatabaseMetaData.typePredChar
          Indicates that the only WHERE search clause that can be based on this type is WHERE .
static int typePredNone sample code for java.sql.DatabaseMetaData.typePredNone definition code for java.sql.DatabaseMetaData.typePredNone
          Indicates that WHERE search clauses are not supported for this type.
static int typeSearchable sample code for java.sql.DatabaseMetaData.typeSearchable definition code for java.sql.DatabaseMetaData.typeSearchable
          Indicates that all WHERE search clauses can be based on this type.
static int versionColumnNotPseudo sample code for java.sql.DatabaseMetaData.versionColumnNotPseudo definition code for java.sql.DatabaseMetaData.versionColumnNotPseudo
          Indicates that this version column is NOT a pseudo column.
static int versionColumnPseudo sample code for java.sql.DatabaseMetaData.versionColumnPseudo definition code for java.sql.DatabaseMetaData.versionColumnPseudo
          Indicates that this version column is a pseudo column.
static int versionColumnUnknown sample code for java.sql.DatabaseMetaData.versionColumnUnknown definition code for java.sql.DatabaseMetaData.versionColumnUnknown
          Indicates that this version column may or may not be a pseudo column.
 
Method Summary
 boolean allProceduresAreCallable sample code for java.sql.DatabaseMetaData.allProceduresAreCallable() definition code for java.sql.DatabaseMetaData.allProceduresAreCallable() ()
          Retrieves whether the current user can call all the procedures returned by the method getProcedures.
 boolean allTablesAreSelectable sample code for java.sql.DatabaseMetaData.allTablesAreSelectable() definition code for java.sql.DatabaseMetaData.allTablesAreSelectable() ()
          Retrieves whether the current user can use all the tables returned by the method getTables in a SELECT statement.
 boolean dataDefinitionCausesTransactionCommit sample code for java.sql.DatabaseMetaData.dataDefinitionCausesTransactionCommit() definition code for java.sql.DatabaseMetaData.dataDefinitionCausesTransactionCommit() ()
          Retrieves whether a data definition statement within a transaction forces the transaction to commit.
 boolean dataDefinitionIgnoredInTransactions sample code for java.sql.DatabaseMetaData.dataDefinitionIgnoredInTransactions() definition code for java.sql.DatabaseMetaData.dataDefinitionIgnoredInTransactions() ()
          Retrieves whether this database ignores a data definition statement within a transaction.
 boolean deletesAreDetected sample code for java.sql.DatabaseMetaData.deletesAreDetected(int) definition code for java.sql.DatabaseMetaData.deletesAreDetected(int) (int type)
          Retrieves whether or not a visible row delete can be detected by calling the method ResultSet.rowDeleted.
 boolean doesMaxRowSizeIncludeBlobs sample code for java.sql.DatabaseMetaData.doesMaxRowSizeIncludeBlobs() definition code for java.sql.DatabaseMetaData.doesMaxRowSizeIncludeBlobs() ()
          Retrieves whether the return value for the method getMaxRowSize includes the SQL data types LONGVARCHAR and LONGVARBINARY.
 ResultSet sample code for java.sql.ResultSet definition code for java.sql.ResultSet getAttributes sample code for java.sql.DatabaseMetaData.getAttributes(java.lang.String, java.lang.String, java.lang.String, java.lang.String) definition code for java.sql.DatabaseMetaData.getAttributes(java.lang.String, java.lang.String, java.lang.String, java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  catalog, String sample code for java.lang.String definition code for java.lang.String  schemaPattern, String sample code for java.lang.String definition code for java.lang.String  typeNamePattern, String sample code for java.lang.String definition code for java.lang.String  attributeNamePattern)
          Retrieves 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.
 ResultSet sample code for java.sql.ResultSet definition code for java.sql.ResultSet getBestRowIdentifier sample code for java.sql.DatabaseMetaData.getBestRowIdentifier(java.lang.String, java.lang.String, java.lang.String, int, boolean) definition code for java.sql.DatabaseMetaData.getBestRowIdentifier(java.lang.String, java.lang.String, java.lang.String, int, boolean) (String sample code for java.lang.String definition code for java.lang.String  catalog, String sample code for java.lang.String definition code for java.lang.String  schema, String sample code for java.lang.String definition code for java.lang.String  table, int scope, boolean nullable)
          Retrieves a description of a table's optimal set of columns that uniquely identifies a row.
 ResultSet sample code for java.sql.ResultSet definition code for java.sql.ResultSet getCatalogs sample code for java.sql.DatabaseMetaData.getCatalogs() definition code for java.sql.DatabaseMetaData.getCatalogs() ()
          Retrieves the catalog names available in this database.
 String sample code for java.lang.String definition code for java.lang.String getCatalogSeparator sample code for java.sql.DatabaseMetaData.getCatalogSeparator() definition code for java.sql.DatabaseMetaData.getCatalogSeparator() ()
          Retrieves the String that this database uses as the separator between a catalog and table name.
 String sample code for java.lang.String definition code for java.lang.String getCatalogTerm sample code for java.sql.DatabaseMetaData.getCatalogTerm() definition code for java.sql.DatabaseMetaData.getCatalogTerm() ()
          Retrieves the database vendor's preferred term for "catalog".
 ResultSet sample code for java.sql.ResultSet definition code for java.sql.ResultSet getColumnPrivileges sample code for java.sql.DatabaseMetaData.getColumnPrivileges(java.lang.String, java.lang.String, java.lang.String, java.lang.String) definition code for java.sql.DatabaseMetaData.getColumnPrivileges(java.lang.String, java.lang.String, java.lang.String, java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  catalog, String sample code for java.lang.String definition code for java.lang.String  schema, String sample code for java.lang.String definition code for java.lang.String  table, String sample code for java.lang.String definition code for java.lang.String  columnNamePattern)
          Retrieves a description of the access rights for a table's columns.
 ResultSet sample code for java.sql.ResultSet definition code for java.sql.ResultSet getColumns sample code for java.sql.DatabaseMetaData.getColumns(java.lang.String, java.lang.String, java.lang.String, java.lang.String) definition code for java.sql.DatabaseMetaData.getColumns(java.lang.String, java.lang.String, java.lang.String, java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  catalog, String sample code for java.lang.String definition code for java.lang.String  schemaPattern, String sample code for java.lang.String definition code for java.lang.String  tableNamePattern, String sample code for java.lang.String definition code for java.lang.String  columnNamePattern)
          Retrieves a description of table columns available in the specified catalog.
 Connection sample code for java.sql.Connection definition code for java.sql.Connection getConnection sample code for java.sql.DatabaseMetaData.getConnection() definition code for java.sql.DatabaseMetaData.getConnection() ()
          Retrieves the connection that produced this metadata object.
 ResultSet sample code for java.sql.ResultSet definition code for java.sql.ResultSet getCrossReference sample code for java.sql.DatabaseMetaData.getCrossReference(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) definition code for java.sql.DatabaseMetaData.getCrossReference(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  primaryCatalog, String sample code for java.lang.String definition code for java.lang.String  primarySchema, String sample code for java.lang.String definition code for java.lang.String  primaryTable, String sample code for java.lang.String definition code for java.lang.String  foreignCatalog, String sample code for java.lang.String definition code for java.lang.String  foreignSchema, String sample code for java.lang.String definition code for java.lang.String  foreignTable)
          Retrieves a description of the foreign key columns in the given foreign key table that reference the primary key columns of the given primary key table (describe how one table imports another's key).
 int getDatabaseMajorVersion sample code for java.sql.DatabaseMetaData.getDatabaseMajorVersion() definition code for java.sql.DatabaseMetaData.getDatabaseMajorVersion() ()
          Retrieves the major version number of the underlying database.
 int getDatabaseMinorVersion sample code for java.sql.DatabaseMetaData.getDatabaseMinorVersion() definition code for java.sql.DatabaseMetaData.getDatabaseMinorVersion() ()
          Retrieves the minor version number of the underlying database.
 String sample code for java.lang.String definition code for java.lang.String getDatabaseProductName sample code for java.sql.DatabaseMetaData.getDatabaseProductName() definition code for java.sql.DatabaseMetaData.getDatabaseProductName() ()
          Retrieves the name of this database product.
 String sample code for java.lang.String definition code for java.lang.String getDatabaseProductVersion sample code for java.sql.DatabaseMetaData.getDatabaseProductVersion() definition code for java.sql.DatabaseMetaData.getDatabaseProductVersion() ()
          Retrieves the version number of this database product.
 int getDefaultTransactionIsolation sample code for java.sql.DatabaseMetaData.getDefaultTransactionIsolation() definition code for java.sql.DatabaseMetaData.getDefaultTransactionIsolation() ()
          Retrieves this database's default transaction isolation level.
 int getDriverMajorVersion sample code for java.sql.DatabaseMetaData.getDriverMajorVersion() definition code for java.sql.DatabaseMetaData.getDriverMajorVersion() ()
          Retrieves this JDBC driver's major version number.
 int getDriverMinorVersion sample code for java.sql.DatabaseMetaData.getDriverMinorVersion() definition code for java.sql.DatabaseMetaData.getDriverMinorVersion() ()
          Retrieves this JDBC driver's minor version number.
 String sample code for java.lang.String definition code for java.lang.String getDriverName sample code for java.sql.DatabaseMetaData.getDriverName() definition code for java.sql.DatabaseMetaData.getDriverName() ()
          Retrieves the name of this JDBC driver.
 String sample code for java.lang.String definition code for java.lang.String getDriverVersion sample code for java.sql.DatabaseMetaData.getDriverVersion() definition code for java.sql.DatabaseMetaData.getDriverVersion() ()
          Retrieves the version number of this JDBC driver as a String.
 ResultSet sample code for java.sql.ResultSet definition code for java.sql.ResultSet getExportedKeys sample code for java.sql.DatabaseMetaData.getExportedKeys(java.lang.String, java.lang.String, java.lang.String) definition code for java.sql.DatabaseMetaData.getExportedKeys(java.lang.String, java.lang.String, java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  catalog, String sample code for java.lang.String definition code for java.lang.String  schema, String sample code for java.lang.String definition code for java.lang.String  table)
          Retrieves a description of the foreign key columns that reference the given table's primary key columns (the foreign keys exported by a table).
 String sample code for java.lang.String definition code for java.lang.String getExtraNameCharacters sample code for java.sql.DatabaseMetaData.getExtraNameCharacters() definition code for java.sql.DatabaseMetaData.getExtraNameCharacters() ()
          Retrieves all the "extra" characters that can be used in unquoted identifier names (those beyond a-z, A-Z, 0-9 and _).
 String sample code for java.lang.String definition code for java.lang.String getIdentifierQuoteString sample code for java.sql.DatabaseMetaData.getIdentifierQuoteString() definition code for java.sql.DatabaseMetaData.getIdentifierQuoteString() ()
          Retrieves the string used to quote SQL identifiers.
 ResultSet sample code for java.sql.ResultSet definition code for java.sql.ResultSet getImportedKeys sample code for java.sql.DatabaseMetaData.getImportedKeys(java.lang.String, java.lang.String, java.lang.String) definition code for java.sql.DatabaseMetaData.getImportedKeys(java.lang.String, java.lang.String, java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  catalog, String sample code for java.lang.String definition code for java.lang.String  schema, String sample code for java.lang.String definition code for java.lang.String  table)
          Retrieves a description of the primary key columns that are referenced by a table's foreign key columns (the primary keys imported by a table).
 ResultSet sample code for java.sql.ResultSet definition code for java.sql.ResultSet getIndexInfo sample code for java.sql.DatabaseMetaData.getIndexInfo(java.lang.String, java.lang.String, java.lang.String, boolean, boolean) definition code for java.sql.DatabaseMetaData.getIndexInfo(java.lang.String, java.lang.String, java.lang.String, boolean, boolean) (String sample code for java.lang.String definition code for java.lang.String  catalog, String sample code for java.lang.String definition code for java.lang.String  schema, String sample code for java.lang.String definition code for java.lang.String  table, boolean unique, boolean approximate)
          Retrieves a description of the given table's indices and statistics.
 int getJDBCMajorVersion sample code for java.sql.DatabaseMetaData.getJDBCMajorVersion() definition code for java.sql.DatabaseMetaData.getJDBCMajorVersion() ()
          Retrieves the major JDBC version number for this driver.
 int getJDBCMinorVersion sample code for java.sql.DatabaseMetaData.getJDBCMinorVersion() definition code for java.sql.DatabaseMetaData.getJDBCMinorVersion() ()
          Retrieves the minor JDBC version number for this driver.
 int getMaxBinaryLiteralLength sample code for java.sql.DatabaseMetaData.getMaxBinaryLiteralLength() definition code for java.sql.DatabaseMetaData.getMaxBinaryLiteralLength() ()
          Retrieves the maximum number of hex characters this database allows in an inline binary literal.
 int getMaxCatalogNameLength sample code for java.sql.DatabaseMetaData.getMaxCatalogNameLength() definition code for java.sql.DatabaseMetaData.getMaxCatalogNameLength() ()
          Retrieves the maximum number of characters that this database allows in a catalog name.
 int getMaxCharLiteralLength sample code for java.sql.DatabaseMetaData.getMaxCharLiteralLength() definition code for java.sql.DatabaseMetaData.getMaxCharLiteralLength() ()
          Retrieves the maximum number of characters this database allows for a character literal.
 int getMaxColumnNameLength sample code for java.sql.DatabaseMetaData.getMaxColumnNameLength() definition code for java.sql.DatabaseMetaData.getMaxColumnNameLength() ()
          Retrieves the maximum number of characters this database allows for a column name.
 int getMaxColumnsInGroupBy sample code for java.sql.DatabaseMetaData.getMaxColumnsInGroupBy() definition code for java.sql.DatabaseMetaData.getMaxColumnsInGroupBy() ()
          Retrieves the maximum number of columns this database allows in a GROUP BY clause.
 int getMaxColumnsInIndex sample code for java.sql.DatabaseMetaData.getMaxColumnsInIndex() definition code for java.sql.DatabaseMetaData.getMaxColumnsInIndex() ()
          Retrieves the maximum number of columns this database allows in an index.
 int getMaxColumnsInOrderBy sample code for java.sql.DatabaseMetaData.getMaxColumnsInOrderBy() definition code for java.sql.DatabaseMetaData.getMaxColumnsInOrderBy() ()
          Retrieves the maximum number of columns this database allows in an ORDER BY clause.
 int getMaxColumnsInSelect sample code for java.sql.DatabaseMetaData.getMaxColumnsInSelect() definition code for java.sql.DatabaseMetaData.getMaxColumnsInSelect() ()
          Retrieves the maximum number of columns this database allows in a SELECT list.
 int getMaxColumnsInTable sample code for java.sql.DatabaseMetaData.getMaxColumnsInTable() definition code for java.sql.DatabaseMetaData.getMaxColumnsInTable() ()
          Retrieves the maximum number of columns this database allows in a table.
 int getMaxConnections sample code for java.sql.DatabaseMetaData.getMaxConnections() definition code for java.sql.DatabaseMetaData.getMaxConnections() ()
       &n