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 JDBC 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, an empty ResultSet
will be returned. Additional columns beyond the columns defined to be
returned by the ResultSet object for a given method
can be defined by the JDBC driver vendor and must be accessed
by their column label.
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.
| Modifier and Type | Field and Description |
|---|---|
| public static final short | attributeNoNulls
Indicates that |
| public static final short | attributeNullable
Indicates that |
| public static final short | attributeNullableUnknown
Indicates that whether |
| public static final int | bestRowNotPseudo
Indicates that the best row identifier is NOT a pseudo column. |
| public static final int | bestRowPseudo
Indicates that the best row identifier is a pseudo column. |
| public static final int | bestRowSession
Indicates that the scope of the best row identifier is the remainder of the current session. |
| public static final int | bestRowTemporary
Indicates that the scope of the best row identifier is very temporary, lasting only while the row is being used. |
| public static final int | bestRowTransaction
Indicates that the scope of the best row identifier is the remainder of the current transaction. |
| public static final int | bestRowUnknown
Indicates that the best row identifier may or may not be a pseudo column. |
| public static final int | columnNoNulls
Indicates that the column might not allow |
| public static final int | columnNullable
Indicates that the column definitely allows |
| public static final int | columnNullableUnknown
Indicates that the nullability of columns is unknown. |
| public static final int | functionColumnIn
Indicates that the parameter or column is an IN parameter. |
| public static final int | functionColumnInOut
Indicates that the parameter or column is an INOUT parameter. |
| public static final int | functionColumnOut
Indicates that the parameter or column is an OUT parameter. |
| public static final int | functionColumnResult
Indicates that the parameter or column is a column in a result set. |
| public static final int | functionColumnUnknown
Indicates that type of the parameter or column is unknown. |
| public static final int | functionNoNulls
Indicates that |
| public static final int | functionNoTable
Indicates that the function does not return a table. |
| public static final int | functionNullable
Indicates that |
| public static final int | functionNullableUnknown
Indicates that whether |
| public static final int | functionResultUnknown
Indicates that it is not known whether the function returns a result or a table. |
| public static final int | functionReturn
Indicates that the parameter or column is a return value. |
| public static final int | functionReturnsTable
Indicates that the function returns a table. |
| public static final int | importedKeyCascade
For the column |
| public static final int | importedKeyInitiallyDeferred
Indicates deferrability. |
| public static final int | importedKeyInitiallyImmediate
Indicates deferrability. |
| public static final int | importedKeyNoAction
For the columns |
| public static final int | importedKeyNotDeferrable
Indicates deferrability. |
| public static final int | importedKeyRestrict
For the column |
| public static final int | importedKeySetDefault
For the columns |
| public static final int | importedKeySetNull
For the columns |
| public static final int | procedureColumnIn
Indicates that the column stores IN parameters. |
| public static final int | procedureColumnInOut
Indicates that the column stores INOUT parameters. |
| public static final int | procedureColumnOut
Indicates that the column stores OUT parameters. |
| public static final int | procedureColumnResult
Indicates that the column stores results. |
| public static final int | procedureColumnReturn
Indicates that the column stores return values. |
| public static final int | procedureColumnUnknown
Indicates that type of the column is unknown. |
| public static final int | procedureNoNulls
Indicates that |
| public static final int | procedureNoResult
Indicates that the procedure does not return a result. |
| public static final int | procedureNullable
Indicates that |
| public static final int | procedureNullableUnknown
Indicates that whether |
| public static final int | procedureResultUnknown
Indicates that it is not known whether the procedure returns a result. |
| public static final int | procedureReturnsResult
Indicates that the procedure returns a result. |
| public static final int | sqlStateSQL
A possible return value for the method
|
| public static final int | sqlStateSQL99
A possible return value for the method
|
| public static final int | sqlStateXOpen
A possible return value for the method
|
| public static final short | tableIndexClustered
Indicates that this table index is a clustered index. |
| public static final short | tableIndexHashed
Indicates that this table index is a hashed index. |
| public static final short | tableIndexOther
Indicates that this table index is not a clustered index, a hashed index, or table statistics; it is something other than these. |
| public static final short | tableIndexStatistic
Indicates that this column contains table statistics that are returned in conjunction with a table's index descriptions. |
| public static final int | typeNoNulls
Indicates that a |
| public static final int | typeNullable
Indicates that a |
| public static final int | typeNullableUnknown
Indicates that it is not known whether a |
| public static final int | typePredBasic
Indicates that the data type can be only be used in |
| public static final int | typePredChar
Indicates that the data type
can be only be used in |
| public static final int | typePredNone
Indicates that |
| public static final int | typeSearchable
Indicates that all |
| public static final int | versionColumnNotPseudo
Indicates that this version column is NOT a pseudo column. |
| public static final int | versionColumnPseudo
Indicates that this version column is a pseudo column. |
| public static final int | versionColumnUnknown
Indicates that this version column may or may not be a pseudo column. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if so; false otherwiseRetrieves whether the current user can call all the procedures
returned by the method |
| public boolean | Returns: true if so; false otherwiseRetrieves whether the current user can use all the tables returned
by the method |
| public boolean | Returns: true if so; false otherwiseRetrieves whether a |
| public boolean | Returns: true if so; false otherwiseRetrieves whether a data definition statement within a transaction forces the transaction to commit. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database ignores a data definition statement within a transaction. |
| public boolean | Returns: true if deletes are detected by the given result set type;
false otherwisethe type)ResultSet type; one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVERetrieves whether or not a visible row delete can be detected by
calling the method |
| public boolean | Returns: true if so; false otherwiseRetrieves whether the return value for the method
|
| public boolean | Returns: true if so; false otherwiseRetrieves whether a generated key will always be returned if the column name(s) or index(es) specified for the auto generated key column(s) are valid and the statement succeeds. |
| public ResultSet | Returns: aResultSet object in which each row is an
attribute descriptiona catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha type name pattern; must match the
type name as it is stored in the database typeNamePattern, String an attribute name pattern; must match the attribute
name as it is declared in the database 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. |
| public ResultSet | Returns: ResultSet - each row is a column descriptiona catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schema, String null means that the schema name should not be used to narrow
the searcha table name; must match the table name as it is stored
in the database table, int the scope of interest; use same values as SCOPE scope, boolean include columns that are nullable. nullable)Retrieves a description of a table's optimal set of columns that uniquely identifies a row. |
| public ResultSet | Returns: aResultSet object in which each row has a
single String column that is a catalog nameRetrieves the catalog names available in this database. |
| public String | Returns: the separator stringRetrieves the |
| public String | Returns: the vendor term for "catalog"Retrieves the database vendor's preferred term for "catalog". |
| public ResultSet | Returns: AResultSet object; each row is a supported client info
propertyRetrieves a list of the client info properties that the driver supports. |
| public ResultSet | Returns: ResultSet - each row is a column privilege descriptiona catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name; must match the schema name as it is
stored in the database; "" retrieves those without a schema;
schema, String null means that the schema name should not be used to narrow
the searcha table name; must match the table name as it is
stored in the database table, String a column name pattern; must match the column
name as it is stored in the database columnNamePattern)Retrieves a description of the access rights for a table's columns. |
| public ResultSet | Returns: ResultSet - each row is a column descriptiona catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha table name pattern; must match the
table name as it is stored in the database tableNamePattern, String a column name pattern; must match the column
name as it is stored in the database columnNamePattern)Retrieves a description of table columns available in the specified catalog. |
| public Connection | Returns: the connection that produced this metadata objectRetrieves the connection that produced this metadata object. |
| public ResultSet | Returns: ResultSet - each row is a foreign key column descriptiona catalog name; must match the catalog name
as it is stored in the database; "" retrieves those without a
catalog; parentCatalog, String null means drop catalog name from the selection criteriaa schema name; must match the schema name as
it is stored in the database; "" retrieves those without a schema;
parentSchema, String null means drop schema name from the selection criteriathe name of the table that exports the key; must match
the table name as it is stored in the database parentTable, String a catalog name; must match the catalog name as
it is stored in the database; "" retrieves those without a
catalog; foreignCatalog, String null means drop catalog name from the selection criteriaa schema name; must match the schema name as it
is stored in the database; "" retrieves those without a schema;
foreignSchema, String null means drop schema name from the selection criteriathe name of the table that imports the key; must match
the table name as it is stored in the database foreignTable)Retrieves a description of the foreign key columns in the given foreign key table that reference the primary key or the columns representing a unique constraint of the parent table (could be the same or a different table). |
| public int | Returns: the underlying database's major versionRetrieves the major version number of the underlying database. |
| public int | Returns: underlying database's minor versionRetrieves the minor version number of the underlying database. |
| public String | |
| public String | Returns: database version numberRetrieves the version number of this database product. |
| public int | Returns: the default isolation levelRetrieves this database's default transaction isolation level. |
| public int | Returns: JDBC driver major versionRetrieves this JDBC driver's major version number. |
| public int | Returns: JDBC driver minor version numberRetrieves this JDBC driver's minor version number. |
| public String | |
| public String | Returns: JDBC driver versionRetrieves the version number of this JDBC driver as a |
| public ResultSet | Returns: aResultSet object in which each row is a
foreign key column descriptiona catalog name; must match the catalog name as it
is stored in this database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schema, String null means that the schema name should not be used to narrow
the searcha table name; must match the table name as it is stored
in this database 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). |
| public String | Returns: the string containing the extra charactersRetrieves all the "extra" characters that can be used in unquoted identifier names (those beyond a-z, A-Z, 0-9 and _). |
| public ResultSet | Returns: ResultSet - each row describes a
user function parameter, column or return typea catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha procedure name pattern; must match the
function name as it is stored in the database functionNamePattern, String a parameter name pattern; must match the
parameter or column name as it is stored in the database columnNamePattern)Retrieves a description of the given catalog's system or user function parameters and return type. |
| public ResultSet | Returns: ResultSet - each row is a function descriptiona catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha function name pattern; must match the
function name as it is stored in the database functionNamePattern)Retrieves a description of the system and user functions available in the given catalog. |
| public String | Returns: the quoting string or a space if quoting is not supportedRetrieves the string used to quote SQL identifiers. |
| public ResultSet | Returns: ResultSet - each row is a primary key column descriptiona catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schema, String null means that the schema name should not be used to narrow
the searcha table name; must match the table name as it is stored
in the database table)Retrieves a description of the primary key columns that are referenced by the given table's foreign key columns (the primary keys imported by a table). |
| public ResultSet | Returns: ResultSet - each row is an index column descriptiona catalog name; must match the catalog name as it
is stored in this database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name; must match the schema name
as it is stored in this database; "" retrieves those without a schema;
schema, String null means that the schema name should not be used to narrow
the searcha table name; must match the table name as it is stored
in this database table, boolean when true, return only indices for unique values;
when false, return indices regardless of whether unique or not unique, boolean when true, result is allowed to reflect approximate
or out of data values; when false, results are requested to be
accurate approximate)Retrieves a description of the given table's indices and statistics. |
| public int | Returns: JDBC version major numberRetrieves the major JDBC version number for this driver. |
| public int | Returns: JDBC version minor numberRetrieves the minor JDBC version number for this driver. |
| public int | Returns: max the maximum length (in hex characters) for a binary literal; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of hex characters this database allows in an inline binary literal. |
| public int | Returns: the maximum number of characters allowed in a catalog name; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of characters that this database allows in a catalog name. |
| public int | Returns: the maximum number of characters allowed for a character literal; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of characters this database allows for a character literal. |
| public int | Returns: the maximum number of characters allowed for a column name; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of characters this database allows for a column name. |
| public int | Returns: the maximum number of columns allowed; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of columns this database allows in a
|
| public int | Returns: the maximum number of columns allowed; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of columns this database allows in an index. |
| public int | Returns: the maximum number of columns allowed; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of columns this database allows in an
|
| public int | Returns: the maximum number of columns allowed; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of columns this database allows in a
|
| public int | Returns: the maximum number of columns allowed; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of columns this database allows in a table. |
| public int | Returns: the maximum number of active connections possible at one time; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of concurrent connections to this database that are possible. |
| public int | Returns: the maximum number of characters allowed in a cursor name; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of characters that this database allows in a cursor name. |
| public int | Returns: the maximum number of bytes allowed; this limit includes the composite of all the constituent parts of the index; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of bytes this database allows for an index, including all of the parts of the index. |
| public default long | Returns: the maximum number of bytes allowed; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of bytes this database allows for
the logical size for a |
| public int | Returns: the maximum number of characters allowed in a procedure name; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of characters that this database allows in a procedure name. |
| public int | Returns: the maximum number of bytes allowed for a row; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of bytes this database allows in a single row. |
| public int | Returns: the maximum number of characters allowed in a schema name; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of characters that this database allows in a schema name. |
| public int | Returns: the maximum number of characters allowed for an SQL statement; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of characters this database allows in an SQL statement. |
| public int | Returns: the maximum number of statements that can be open at one time; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of active statements to this database that can be open at the same time. |
| public int | Returns: the maximum number of characters allowed for a table name; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of characters this database allows in a table name. |
| public int | Returns: the maximum number of tables allowed in aSELECT
statement; a result of zero means that there is no limit or
the limit is not knownRetrieves the maximum number of tables this database allows in a
|
| public int | Returns: the maximum number of characters allowed for a user name; a result of zero means that there is no limit or the limit is not knownRetrieves the maximum number of characters this database allows in a user name. |
| public String | Returns: the list of math functions supported by this databaseRetrieves a comma-separated list of math functions available with this database. |
| public ResultSet | Returns: ResultSet - each row is a primary key column descriptiona catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schema, String null means that the schema name should not be used to narrow
the searcha table name; must match the table name as it is stored
in the database table)Retrieves a description of the given table's primary key columns. |
| public ResultSet | Returns: ResultSet - each row describes a stored procedure parameter or
columna catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha procedure name pattern; must match the
procedure name as it is stored in the database procedureNamePattern, String a column name pattern; must match the column name
as it is stored in the database columnNamePattern)Retrieves a description of the given catalog's stored procedure parameter and result columns. |
| public ResultSet | Returns: ResultSet - each row is a procedure descriptiona catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha procedure name pattern; must match the
procedure name as it is stored in the database procedureNamePattern)Retrieves a description of the stored procedures available in the given catalog. |
| public String | Returns: the vendor term for "procedure"Retrieves the database vendor's preferred term for "procedure". |
| public ResultSet | Returns: ResultSet - each row is a column descriptiona catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha table name pattern; must match the
table name as it is stored in the database tableNamePattern, String a column name pattern; must match the column
name as it is stored in the database columnNamePattern)Retrieves a description of the pseudo or hidden columns available in a given table within the specified catalog and schema. |
| public int | Returns: the default holdability; eitherResultSet.HOLD_CURSORS_OVER_COMMIT or
ResultSet.CLOSE_CURSORS_AT_COMMITRetrieves this database's default holdability for |
| public RowIdLifetime | Returns: the status indicating the lifetime of aRowIdIndicates whether this data source supports the SQL |
| public ResultSet | Returns: aResultSet object in which each row is a
schema descriptionRetrieves the schema names available in this database. |
| public ResultSet | Returns: aResultSet object in which each row is a
schema descriptiona catalog name; must match the catalog name as it is stored
in the database;"" retrieves those without a catalog; null means catalog
name should not be used to narrow down the search. catalog, String a schema name; must match the schema name as it is
stored in the database; null means
schema name should not be used to narrow down the search. schemaPattern)Retrieves the schema names available in this database. |
| public String | Returns: the vendor term for "schema"Retrieves the database vendor's preferred term for "schema". |
| public String | Returns: the string used to escape wildcard charactersRetrieves the string that can be used to escape wildcard characters. |
| public String | Returns: the list of this database's keywords that are not also SQL:2003 keywordsRetrieves a comma-separated list of all of this database's SQL keywords that are NOT also SQL:2003 keywords. |
| public int | Returns: the type of SQLSTATE; one of: sqlStateXOpen or sqlStateSQLIndicates whether the SQLSTATE returned by |
| public String | Returns: the list of string functions supported by this databaseRetrieves a comma-separated list of string functions available with this database. |
| public ResultSet | Returns: aResultSet object in which each row is a type descriptiona catalog name; "" retrieves those without a catalog;
catalog, String null means drop catalog name from the selection criteriaa schema name pattern; "" retrieves those
without a schema schemaPattern, String a table name pattern; may be a fully-qualified
name tableNamePattern)Retrieves a description of the table hierarchies defined in a particular schema in this database. |
| public ResultSet | Returns: aResultSet object in which a row gives information
about the designated UDTa catalog name; "" retrieves those without a catalog;
catalog, String null means drop catalog name from the selection criteriaa schema name pattern; "" retrieves those
without a schema schemaPattern, String a UDT name pattern; may be a fully-qualified
name typeNamePattern)Retrieves a description of the user-defined type (UDT) hierarchies defined in a particular schema in this database. |
| public String | Returns: a list of system functions supported by this databaseRetrieves a comma-separated list of system functions available with this database. |
| public ResultSet | Returns: ResultSet - each row is a table privilege descriptiona catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha table name pattern; must match the
table name as it is stored in the database tableNamePattern)Retrieves a description of the access rights for each table available in a catalog. |
| public ResultSet | Returns: ResultSet - each row is a table descriptiona catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name pattern; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha table name pattern; must match the
table name as it is stored in the database tableNamePattern, String[] a list of table types, which must be from the list of table types
returned from types)getTableTypes, to include; null returns
all typesRetrieves a description of the tables available in the given catalog. |
| public ResultSet | Returns: aResultSet object in which each row has a
single String column that is a table typeRetrieves the table types available in this database. |
| public String | Returns: the list of time and date functions supported by this databaseRetrieves a comma-separated list of the time and date functions available with this database. |
| public ResultSet | Returns: aResultSet object in which each row is an SQL
type descriptionRetrieves a description of all the data types supported by this database. |
| public ResultSet | Returns: ResultSet object in which each row describes a UDTa catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema pattern name; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schemaPattern, String null means that the schema name should not be used to narrow
the searcha type name pattern; must match the type name
as it is stored in the database; may be a fully qualified name typeNamePattern, int[] a list of user-defined types (JAVA_OBJECT,
STRUCT, or DISTINCT) to include; types)null returns all typesRetrieves a description of the user-defined types (UDTs) defined in a particular schema. |
| public String | Returns: the URL for this DBMS ornull if it cannot be
generatedRetrieves the URL for this DBMS. |
| public String | |
| public ResultSet | Returns: aResultSet object in which each row is a
column descriptiona catalog name; must match the catalog name as it
is stored in the database; "" retrieves those without a catalog;
catalog, String null means that the catalog name should not be used to narrow
the searcha schema name; must match the schema name
as it is stored in the database; "" retrieves those without a schema;
schema, String null means that the schema name should not be used to narrow
the searcha table name; must match the table name as it is stored
in the database table)Retrieves a description of a table's columns that are automatically updated when any value in a row is updated. |
| public boolean | Returns: true if changes are detected by the specified result
set type; false otherwisethe type)ResultSet type; one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVERetrieves whether or not a visible row insert can be detected
by calling the method |
| public boolean | Returns: true if the catalog name appears at the beginning
of a fully qualified table name; false otherwiseRetrieves whether a catalog appears at the start of a fully qualified table name. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database is in read-only mode. |
| public boolean | Returns: true if updates are made to a copy of the LOB;
false if updates are made directly to the LOBIndicates whether updates made to a LOB are made on a copy or directly to the LOB. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports concatenations between
|
| public boolean | Returns: true if so; false otherwiseRetrieves whether |
| public boolean | Returns: true if so; false otherwiseRetrieves whether |
| public boolean | Returns: true if so; false otherwiseRetrieves whether |
| public boolean | Returns: true if so; false otherwiseRetrieves whether |
| public boolean | Returns: true if deletes made by others
are visible for the given result set type;
false otherwisethe type)ResultSet type; one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVERetrieves whether deletes made by others are visible. |
| public boolean | Returns: true if inserts made by others
are visible for the given result set type;
false otherwisethe type)ResultSet type; one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVERetrieves whether inserts made by others are visible. |
| public boolean | Returns: true if updates made by others
are visible for the given result set type;
false otherwisethe type)ResultSet type; one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVERetrieves whether updates made by others are visible. |
| public boolean | Returns: true if deletes are visible for the given result set type;
false otherwisethe type)ResultSet type; one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVERetrieves whether a result set's own deletes are visible. |
| public boolean | Returns: true if inserts are visible for the given result set type;
false otherwisethe type)ResultSet type; one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVERetrieves whether a result set's own inserts are visible. |
| public boolean | Returns: true if updates are visible for the given result set type;
false otherwisethe type)ResultSet type; one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVERetrieves whether for the given type of |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database treats mixed case unquoted SQL identifiers as case insensitive and stores them in lower case. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database treats mixed case quoted SQL identifiers as case insensitive and stores them in lower case. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database treats mixed case unquoted SQL identifiers as case insensitive and stores them in mixed case. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database treats mixed case quoted SQL identifiers as case insensitive and stores them in mixed case. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database treats mixed case unquoted SQL identifiers as case insensitive and stores them in upper case. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database treats mixed case quoted SQL identifiers as case insensitive and stores them in upper case. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports the ANSI92 entry level SQL grammar. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports the ANSI92 full SQL grammar supported. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports the ANSI92 intermediate SQL grammar supported. |
| public boolean | Returns: true if this database supports batch updates;
false otherwiseRetrieves whether this database supports batch updates. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether a catalog name can be used in a data manipulation statement. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether a catalog name can be used in an index definition statement. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether a catalog name can be used in a privilege definition statement. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether a catalog name can be used in a procedure call statement. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether a catalog name can be used in a table definition statement. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports column aliasing. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports the JDBC scalar function
|
| public boolean | Returns: true if so; false otherwisethe type to convert from; one of the type codes from
the class fromType, int java.sql.Typesthe type to convert to; one of the type codes from
the class toType)java.sql.TypesRetrieves whether this database supports the JDBC scalar function
|
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports the ODBC Core SQL grammar. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports correlated subqueries. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports both data definition and data manipulation statements within a transaction. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports only data manipulation statements within a transaction. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether, when table correlation names are supported, they are restricted to being different from the names of the tables. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports expressions in
|
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports the ODBC Extended SQL grammar. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports full nested outer joins. |
| public boolean | Returns: true if auto-generated keys can be retrieved
after a statement has executed; false otherwise
If Retrieves whether auto-generated keys can be retrieved after a statement has been executed |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports some form of
|
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports using columns not included in
the |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports using a column that is
not in the |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports the SQL Integrity Enhancement Facility. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports specifying a
|
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database provides limited support for outer joins. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports the ODBC Minimum SQL grammar. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database treats mixed case unquoted SQL identifiers as case sensitive and as a result stores them in mixed case. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database treats mixed case quoted SQL identifiers as case sensitive and as a result stores them in mixed case. |
| public boolean | Returns: true if a CallableStatement object
can return multiple ResultSet objects
simultaneously; false otherwiseRetrieves whether it is possible to have multiple |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports getting multiple
|
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database allows having multiple transactions open at once (on different connections). |
| public boolean | Returns: true if named parameters are supported;
false otherwiseRetrieves whether this database supports named parameters to callable statements. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether columns in this database may be defined as non-nullable. |
| public boolean | Returns: true if cursors always remain open;
false if they might not remain openRetrieves whether this database supports keeping cursors open across commits. |
| public boolean | Returns: true if cursors always remain open;
false if they might not remain openRetrieves whether this database supports keeping cursors open across rollbacks. |
| public boolean | Returns: true if statements always remain open;
false if they might not remain openRetrieves whether this database supports keeping statements open across commits. |
| public boolean | Returns: true if statements always remain open;
false if they might not remain openRetrieves whether this database supports keeping statements open across rollbacks. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports using a column that is
not in the |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports some form of outer join. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports positioned |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports positioned |
| public default boolean | Returns: true if this database supports REF CURSOR;
false otherwiseRetrieves whether this database supports REF CURSOR. |
| public boolean | Returns: true if so; false otherwisedefined in type, int java.sql.ResultSettype defined in concurrency)java.sql.ResultSetRetrieves whether this database supports the given concurrency type in combination with the given result set type. |
| public boolean | Returns: true if so; false otherwiseone of the following constants:
holdability)ResultSet.HOLD_CURSORS_OVER_COMMIT or
ResultSet.CLOSE_CURSORS_AT_COMMITRetrieves whether this database supports the given result set holdability. |
| public boolean | Returns: true if so; false otherwisedefined in type)java.sql.ResultSetRetrieves whether this database supports the given result set type. |
| public boolean | Returns: true if savepoints are supported;
false otherwiseRetrieves whether this database supports savepoints. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether a schema name can be used in a data manipulation statement. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether a schema name can be used in an index definition statement. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether a schema name can be used in a privilege definition statement. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether a schema name can be used in a procedure call statement. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether a schema name can be used in a table definition statement. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports |
| public default boolean | Returns: true if this database supports sharding;
false otherwiseRetrieves whether this database supports sharding. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports statement pooling. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports invoking user-defined or vendor functions using the stored procedure escape syntax. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports stored procedure calls that use the stored procedure escape syntax. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports subqueries in comparison expressions. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports subqueries in
|
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports subqueries in
|
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports subqueries in quantified expressions. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports table correlation names. |
| public boolean | Returns: true if so; false otherwiseone of the transaction isolation levels defined in
level)java.sql.ConnectionRetrieves whether this database supports the given transaction isolation level. |
| public boolean | Returns: true if transactions are supported;
false otherwiseRetrieves whether this database supports transactions. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports SQL |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database supports SQL |
| public boolean | Returns: true if changes are detected by the result set type;
false otherwisethe type)ResultSet type; one of
ResultSet.TYPE_FORWARD_ONLY,
ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVERetrieves whether or not a visible row update can be detected by
calling the method |
| public boolean | Returns: true if this database uses a local file for each table;
false otherwiseRetrieves whether this database uses a file for each table. |
| public boolean | Returns: true if so; false otherwiseRetrieves whether this database stores tables in a local file. |