Skip to content

You are not logged in. Register orLog In

start:


:: com :: sun :: star :: sdbc ::

interface XDatabaseMetaData
Description
provides comprehensive information about the database as a whole.

Many of the methods here return lists of information in the form of XResultSet objects. You can use the normal XResultSet methods such as XResultSet::getString() and XResultSet::getInt() to retrieve the data from these XResultSets. If a given form of metadata is not available, these methods should throw a SQLException .

Some of these 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 a NULL ref, that argument's criteria will be dropped from the search.

A SQLException will be thrown if a driver does not support a meta data method. In the case of methods that return an XResultSet, either an XResultSet (which may be empty) is returned or a SQLException is thrown.

Developers Guide
Database - XDatabaseMetaData Interface
Database - Database Design - Retrieving Information about a Database

Methods' Summary
allProceduresAreCallable Can all the procedures returned by getProcedures be called by the current user?  
allTablesAreSelectable Can all the tables returned by getTable be SELECTed by the current user?  
getURL returns the URL for the database connection  
getUserName returns the user name from this database connection.  
isReadOnly checks if the database in read-only mode.  
nullsAreSortedHigh Are NULL values sorted high?  
nullsAreSortedLow Are NULL values sorted low?  
nullsAreSortedAtStart Are NULL values sorted at the start regardless of sort order?  
nullsAreSortedAtEnd Are NULL values sorted at the end, regardless of sort order?  
getDatabaseProductName returns the name of the database product.  
getDatabaseProductVersion returns the version of the database product.  
getDriverName returns the name of the SDBC driver.  
getDriverVersion returns the version number of the SDBC driver.  
getDriverMajorVersion returns the SDBC driver major version number.  
getDriverMinorVersion returns the SDBC driver minor version number.  
usesLocalFiles use the database local files to save the tables.  
usesLocalFilePerTable use the database one local file to save for each table.  
supportsMixedCaseIdentifiers use the database 'mixed case unquoted SQL identifiers' case sensitive.  
storesUpperCaseIdentifiers Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in upper case?  
storesLowerCaseIdentifiers Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in lower case?  
storesMixedCaseIdentifiers Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in mixed case?  
supportsMixedCaseQuotedIdentifiers Does the database treat mixed case quoted SQL identifiers as case sensitive and as a result store them in mixed case?  
storesUpperCaseQuotedIdentifiers Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in upper case?  
storesLowerCaseQuotedIdentifiers Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in lower case?  
storesMixedCaseQuotedIdentifiers Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in mixed case?  
getIdentifierQuoteString What's the string used to quote SQL identifiers? This returns a space " " if identifier quoting is not supported.  
getSQLKeywords gets a comma-separated list of all a database's SQL keywords that are NOT also SQL92 keywords.  
getNumericFunctions gets a comma-separated list of math functions. These are the X/Open CLI math function names used in the SDBC function escape clause.  
getStringFunctions gets a comma-separated list of string functions. These are the X/Open CLI string function names used in the SDBC function escape clause.  
getSystemFunctions gets a comma-separated list of system functions. These are the X/Open CLI system function names used in the SDBC function escape clause.  
getTimeDateFunctions gets a comma-separated list of time and date functions.  
getSearchStringEscape gets the string that can be used to escape wildcard characters. This is the string that can be used to escape '_' or '%' in the string pattern style catalog search parameters.  
getExtraNameCharacters gets all the "extra" characters that can be used in unquoted identifier names (those beyond a-z, A-Z, 0-9 and _).  
supportsAlterTableWithAddColumn support the Database "ALTER TABLE" with add column?  
supportsAlterTableWithDropColumn support the Database "ALTER TABLE" with drop column?  
supportsColumnAliasing support the Database column aliasing?  
nullPlusNonNullIsNull are concatenations between NULL and non-NULL values NULL?  
supportsTypeConversion true , if the Database supports the CONVERT function between SQL types, otherwise false .  
supportsConvert true , if the Database supports the CONVERT between the given SQL types otherwise false .  
supportsTableCorrelationNames Are table correlation names supported?  
supportsDifferentTableCorrelationNames If table correlation names are supported, are they restricted to be different from the names of the tables?  
supportsExpressionsInOrderBy Are expressions in "ORDER BY" lists supported?  
supportsOrderByUnrelated Can an "ORDER BY" clause use columns not in the SELECT statement?  
supportsGroupBy Is some form of "GROUP BY" clause supported?  
supportsGroupByUnrelated Can a "GROUP BY" clause use columns not in the SELECT?  
supportsGroupByBeyondSelect Can a "GROUP BY" clause add columns not in the SELECT provided it specifies all the columns in the SELECT?  
supportsLikeEscapeClause Is the escape character in "LIKE" clauses supported?  
supportsMultipleResultSets Are multiple XResultSets from a single execute supported?  
supportsMultipleTransactions Can we have multiple transactions open at once (on different connections)?  
supportsNonNullableColumns Can columns be defined as non-nullable?  
supportsMinimumSQLGrammar true, if the database supports ODBC Minimum SQL grammar, otherwise false.  
supportsCoreSQLGrammar true, if the database supports ODBC Core SQL grammar, otherwise false.  
supportsExtendedSQLGrammar true, if the database supports ODBC Extended SQL grammar, otherwise false.  
supportsANSI92EntryLevelSQL  
supportsANSI92IntermediateSQL  
supportsANSI92FullSQL  
supportsIntegrityEnhancementFacility returns true, if the Database supports SQL Integrity Enhancement Facility, otherwise false.  
supportsOuterJoins  
supportsFullOuterJoins  
supportsLimitedOuterJoins  
getSchemaTerm return the database vendor's preferred term for "schema"  
getProcedureTerm return the database vendor's preferred term for "procedure"  
getCatalogTerm return the database vendor's preferred term for "catalog"  
isCatalogAtStart Does a catalog appear at the start of a qualified table name? (Otherwise it appears at the end)  
getCatalogSeparator return the separator between catalog and table name  
supportsSchemasInDataManipulation Can a schema name be used in a data manipulation statement?  
supportsSchemasInProcedureCalls Can a schema name be used in a procedure call statement?  
supportsSchemasInTableDefinitions Can a schema name be used in a table definition statement?  
supportsSchemasInIndexDefinitions Can a schema name be used in an index definition statement?  
supportsSchemasInPrivilegeDefinitions Can a schema name be used in a privilege definition statement?  
supportsCatalogsInDataManipulation Can a catalog name be used in a data manipulation statement?  
supportsCatalogsInProcedureCalls Can a catalog name be used in a procedure call statement?  
supportsCatalogsInTableDefinitions Can a catalog name be used in a table definition statement?  
supportsCatalogsInIndexDefinitions Can a catalog name be used in an index definition statement?  
supportsCatalogsInPrivilegeDefinitions Can a catalog name be used in a privilege definition statement?  
supportsPositionedDelete Is positioned DELETE supported?  
supportsPositionedUpdate Is positioned UPDATE supported?  
supportsSelectForUpdate Is SELECT for UPDATE supported?  
supportsStoredProcedures Are stored procedure calls using the stored procedure escape syntax supported?  
supportsSubqueriesInComparisons Are subqueries in comparison expressions supported?  
supportsSubqueriesInExists Are subqueries in 'exists' expressions supported?  
supportsSubqueriesInIns Are subqueries in 'in' statements supported?  
supportsSubqueriesInQuantifieds Are subqueries in quantified expressions supported?  
supportsCorrelatedSubqueries Are correlated subqueries supported?  
supportsUnion Is SQL UNION supported?  
supportsUnionAll Is SQL UNION ALL supported?  
supportsOpenCursorsAcrossCommit Can cursors remain open across commits?  
supportsOpenCursorsAcrossRollback Can cursors remain open across rollbacks?  
supportsOpenStatementsAcrossCommit Can statements remain open across commits?  
supportsOpenStatementsAcrossRollback Can statements remain open across rollbacks?  
getMaxBinaryLiteralLength return the maximal number of hex characters in an inline binary literal  
getMaxCharLiteralLength return the max length for a character literal  
getMaxColumnNameLength return the limit on column name length  
getMaxColumnsInGroupBy return the maximum number of columns in a "GROUP BY" clause  
getMaxColumnsInIndex return the maximum number of columns allowed in an index  
getMaxColumnsInOrderBy return the maximum number of columns in an "ORDER BY" clause  
getMaxColumnsInSelect return the maximum number of columns in a "SELECT" list  
getMaxColumnsInTable return the maximum number of columns in a table  
getMaxConnections return the number of active connections at a time to this database.  
getMaxCursorNameLength return the maximum cursor name length  
getMaxIndexLength return the maximum length of an index (in bytes)  
getMaxSchemaNameLength return the maximum length allowed for a schema name  
getMaxProcedureNameLength return the maximum length of a procedure name  
getMaxCatalogNameLength return the maximum length of a catalog name  
getMaxRowSize return the maximum length of a single row.  
doesMaxRowSizeIncludeBlobs Did getMaxRowSize() include LONGVARCHAR and LONGVARBINARY blobs?  
getMaxStatementLength return the maximum length of a SQL statement  
getMaxStatements return the maximal number of open active statements at one time to this database  
getMaxTableNameLength return the maximum length of a table name  
getMaxTablesInSelect return the maximum number of tables in a SELECT statement  
getMaxUserNameLength return the maximum length of a user name  
getDefaultTransactionIsolation return the database default transaction isolation level. The values are defined in TransactionIsolation.  
supportsTransactions support the Database transactions? If not, invoking the method XConnection::commit() is a noop and the isolation level is TransactionIsolation_NONE.  
supportsTransactionIsolationLevel Does this database support the given transaction isolation level?  
supportsDataDefinitionAndDataManipulationTransactions support the Database both data definition and data manipulation statements within a transaction?  
supportsDataManipulationTransactionsOnly are only data manipulation statements within a transaction supported?  
dataDefinitionCausesTransactionCommit does a data definition statement within a transaction force the transaction to commit?  
dataDefinitionIgnoredInTransactions is a data definition statement within a transaction ignored?  
getProcedures Gets a description of the stored procedures available in a catalog.  
getProcedureColumns gets a description of a catalog's stored procedure parameters and result columns.  
getTables gets a description of tables available in a catalog.  
getSchemas Gets the schema names available in this database. The results are ordered by schema name.  
getCatalogs gets the catalog names available in this database. The results are ordered by catalog name.  
getTableTypes gets the table types available in this database. The results are ordered by table type.  
getColumns gets a description of table columns available in the specified catalog.  
getColumnPrivileges gets a description of the access rights for a table's columns.  
getTablePrivileges gets a description of the access rights for each table available in a catalog. Note that a table privilege applies to one or more columns in the table. It would be wrong to assume that this priviledge applies to all columns (this may be true for some systems but is not true for all.)  
getBestRowIdentifier gets a description of a table's optimal set of columns that uniquely identifies a row. They are ordered by SCOPE.  
getVersionColumns gets a description of a table's columns that are automatically updated when any value in a row is updated. They are unordered.  
getPrimaryKeys gets a description of a table's primary key columns. They are ordered by COLUMN_NAME.  
getImportedKeys gets a description of the primary key columns that are referenced by a table's foreign key columns (the primary keys imported by a table). They are ordered by PKTABLE_CAT, PKTABLE_SCHEM, PKTABLE_NAME, and KEY_SEQ.  
getExportedKeys gets a description of the foreign key columns that reference a table's primary key columns (the foreign keys exported by a table). They are ordered by FKTABLE_CAT, FKTABLE_SCHEM, FKTABLE_NAME, and KEY_SEQ.  
getCrossReference gets a description of the foreign key columns in the foreign key table that reference the primary key columns of the primary key table (describe how one table imports another's key.) This should normally return a single foreign key/primary key pair (most tables only import a foreign key from a table once.). They are ordered by FKTABLE_CAT, FKTABLE_SCHEM, FKTABLE_NAME, and KEY_SEQ.  
getTypeInfo gets a description of all the standard SQL types supported by this database. They are ordered by DATA_TYPE and then by how closely the data type maps to the corresponding SDBC SQL type.  
getIndexInfo gets a description of a table's indices and statistics. They are ordered by NON_UNIQUE, TYPE, INDEX_NAME, and ORDINAL_POSITION.  
supportsResultSetType Does the database support the given result set type?  
supportsResultSetConcurrency Does the database support the concurrency type in combination with the given result set type?  
ownUpdatesAreVisible indicates whether a result set's own updates are visible.  
ownDeletesAreVisible indicates whether a result set's own deletes are visible.  
ownInsertsAreVisible indicates whether a result set's own inserts are visible.  
othersUpdatesAreVisible indicates whether updates made by others are visible.  
othersDeletesAreVisible indicates whether deletes made by others are visible.  
othersInsertsAreVisible indicates whether inserts made by others are visible.  
updatesAreDetected indicates whether or not a visible row update can be detected by calling the method XResultSet.rowUpdated.  
deletesAreDetected indicates whether or not a visible row delete can be detected by calling XResultSet::rowDeleted() . If deletesAreDetected() returns false, then deleted rows are removed from the result set.  
insertsAreDetected indicates whether or not a visible row insert can be detected by calling XResultSet::rowInserted().  
supportsBatchUpdates indicates whether the driver supports batch updates.  
getUDTs Gets a description of the user-defined types defined in a particular schema. Schema-specific UDTs may have type OBJECT, STRUCT, or DISTINCT.  
getConnection retrieves the connection that produced this metadata object.  
Methods' Details
allProceduresAreCallable
boolean
allProceduresAreCallable()
raises( SQLException );

Description
Can all the procedures returned by getProcedures be called by the current user?
Returns
true if the user is allowed to call all procedures returned by getProcedures otherwise false .
Throws
SQLException if a database access error occurs.
allTablesAreSelectable
boolean
allTablesAreSelectable()
raises( SQLException );

Description
Can all the tables returned by getTable be SELECTed by the current user?
Returns
true if so
Throws
SQLException if a database access error occurs.
getURL
string
getURL()
raises( SQLException );

Description
returns the URL for the database connection
getUserName
string
getUserName()
raises( SQLException );

Description
returns the user name from this database connection.
isReadOnly
boolean
isReadOnly()
raises( SQLException );

Description
checks if the database in read-only mode.
Returns
true if so
Throws
SQLException if a database access error occurs.
nullsAreSortedHigh
boolean
nullsAreSortedHigh()
raises( SQLException );

Description
Are NULL values sorted high?
Returns
true if so
Throws
SQLException if a database access error occurs.
nullsAreSortedLow
boolean
nullsAreSortedLow()
raises( SQLException );

Description
Are NULL values sorted low?
Returns
true if so
Throws
SQLException if a database access error occurs.
nullsAreSortedAtStart
boolean
nullsAreSortedAtStart()
raises( SQLException );

Description
Are NULL values sorted at the start regardless of sort order?
Returns
true if so
Throws
SQLException if a database access error occurs.
nullsAreSortedAtEnd
boolean
nullsAreSortedAtEnd()
raises( SQLException );

Description
Are NULL values sorted at the end, regardless of sort order?
Returns
true if so
Throws
SQLException if a database access error occurs.
getDatabaseProductName
string
getDatabaseProductName()
raises( SQLException );

Description
returns the name of the database product.
getDatabaseProductVersion
string
getDatabaseProductVersion()
raises( SQLException );

Description
returns the version of the database product.
getDriverName
string
getDriverName()
raises( SQLException );

Description
returns the name of the SDBC driver.
getDriverVersion
string
getDriverVersion()
raises( SQLException );

Description
returns the version number of the SDBC driver.
getDriverMajorVersion
long
getDriverMajorVersion();

Description
returns the SDBC driver major version number.
getDriverMinorVersion
long
getDriverMinorVersion();

Description
returns the SDBC driver minor version number.
usesLocalFiles
boolean
usesLocalFiles()
raises( SQLException );

Description
use the database local files to save the tables.
Returns
true if so
Throws
SQLException if a database access error occurs.
usesLocalFilePerTable
boolean
usesLocalFilePerTable()
raises( SQLException );

Description
use the database one local file to save for each table.
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsMixedCaseIdentifiers
boolean
supportsMixedCaseIdentifiers()
raises( SQLException );

Description
use the database 'mixed case unquoted SQL identifiers' case sensitive.
Returns
true if so
Throws
SQLException if a database access error occurs.
storesUpperCaseIdentifiers
boolean
storesUpperCaseIdentifiers()
raises( SQLException );

Description
Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in upper case?
Returns
true if so
Throws
SQLException if a database access error occurs.
storesLowerCaseIdentifiers
boolean
storesLowerCaseIdentifiers()
raises( SQLException );

Description
Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in lower case?
Returns
true if so
Throws
SQLException if a database access error occurs.
storesMixedCaseIdentifiers
boolean
storesMixedCaseIdentifiers()
raises( SQLException );

Description
Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in mixed case?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsMixedCaseQuotedIdentifiers
boolean
supportsMixedCaseQuotedIdentifiers()
raises( SQLException );

Description
Does the database treat mixed case quoted SQL identifiers as case sensitive and as a result store them in mixed case?
Returns
true if so
Throws
SQLException if a database access error occurs.
storesUpperCaseQuotedIdentifiers
boolean
storesUpperCaseQuotedIdentifiers()
raises( SQLException );

Description
Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in upper case?
Returns
true if so
Throws
SQLException if a database access error occurs.
storesLowerCaseQuotedIdentifiers
boolean
storesLowerCaseQuotedIdentifiers()
raises( SQLException );

Description
Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in lower case?
Returns
true if so
Throws
SQLException if a database access error occurs.
storesMixedCaseQuotedIdentifiers
boolean
storesMixedCaseQuotedIdentifiers()
raises( SQLException );

Description
Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in mixed case?
Returns
true if so
Throws
SQLException if a database access error occurs.
getIdentifierQuoteString
string
getIdentifierQuoteString()
raises( SQLException );

Description
What's the string used to quote SQL identifiers? This returns a space " " if identifier quoting is not supported.
Returns
true if so
Throws
SQLException if a database access error occurs.
getSQLKeywords
string
getSQLKeywords()
raises( SQLException );

Description
gets a comma-separated list of all a database's SQL keywords that are NOT also SQL92 keywords.
Returns
true if so
Throws
SQLException if a database access error occurs.
getNumericFunctions
string
getNumericFunctions()
raises( SQLException );

Description
gets a comma-separated list of math functions. These are the X/Open CLI math function names used in the SDBC function escape clause.
Returns
true if so
Throws
SQLException if a database access error occurs.
getStringFunctions
string
getStringFunctions()
raises( SQLException );

Description
gets a comma-separated list of string functions. These are the X/Open CLI string function names used in the SDBC function escape clause.
Returns
true if so
Throws
SQLException if a database access error occurs.
getSystemFunctions
string
getSystemFunctions()
raises( SQLException );

Description
gets a comma-separated list of system functions. These are the X/Open CLI system function names used in the SDBC function escape clause.
Returns
true if so
Throws
SQLException if a database access error occurs.
getTimeDateFunctions
string
getTimeDateFunctions()
raises( SQLException );

Description
gets a comma-separated list of time and date functions.
Returns
true if so
Throws
SQLException if a database access error occurs.
getSearchStringEscape
string
getSearchStringEscape()
raises( SQLException );

Description
gets the string that can be used to escape wildcard characters. This is the string that can be used to escape '_' or '%' in the string pattern style catalog search parameters.

The '_' character represents any single character.

The '%' character represents any sequence of zero or more characters.

Returns
true if so
Throws
SQLException if a database access error occurs.
getExtraNameCharacters
string
getExtraNameCharacters()
raises( SQLException );

Description
gets all the "extra" characters that can be used in unquoted identifier names (those beyond a-z, A-Z, 0-9 and _).
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsAlterTableWithAddColumn
boolean
supportsAlterTableWithAddColumn()
raises( SQLException );

Description
support the Database "ALTER TABLE" with add column?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsAlterTableWithDropColumn
boolean
supportsAlterTableWithDropColumn()
raises( SQLException );

Description
support the Database "ALTER TABLE" with drop column?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsColumnAliasing
boolean
supportsColumnAliasing()
raises( SQLException );

Description
support the Database column aliasing?

The SQL AS clause can be used to provide names for computed columns or to provide alias names for columns as required.

Returns
true if so
Throws
SQLException if a database access error occurs.
nullPlusNonNullIsNull
boolean
nullPlusNonNullIsNull()
raises( SQLException );

Description
are concatenations between NULL and non-NULL values NULL?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsTypeConversion
boolean
supportsTypeConversion()
raises( SQLException );

Description
true , if the Database supports the CONVERT function between SQL types, otherwise false .
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsConvert
boolean
supportsConvert( [in] long  fromType,
[in] long  toType )
raises( SQLException );

Description
true , if the Database supports the CONVERT between the given SQL types otherwise false .
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsTableCorrelationNames
boolean
supportsTableCorrelationNames()
raises( SQLException );

Description
Are table correlation names supported?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsDifferentTableCorrelationNames
boolean
supportsDifferentTableCorrelationNames()
raises( SQLException );

Description
If table correlation names are supported, are they restricted to be different from the names of the tables?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsExpressionsInOrderBy
boolean
supportsExpressionsInOrderBy()
raises( SQLException );

Description
Are expressions in "ORDER BY" lists supported?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsOrderByUnrelated
boolean
supportsOrderByUnrelated()
raises( SQLException );

Description
Can an "ORDER BY" clause use columns not in the SELECT statement?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsGroupBy
boolean
supportsGroupBy()
raises( SQLException );

Description
Is some form of "GROUP BY" clause supported?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsGroupByUnrelated
boolean
supportsGroupByUnrelated()
raises( SQLException );

Description
Can a "GROUP BY" clause use columns not in the SELECT?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsGroupByBeyondSelect
boolean
supportsGroupByBeyondSelect()
raises( SQLException );

Description
Can a "GROUP BY" clause add columns not in the SELECT provided it specifies all the columns in the SELECT?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsLikeEscapeClause
boolean
supportsLikeEscapeClause()
raises( SQLException );

Description
Is the escape character in "LIKE" clauses supported?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsMultipleResultSets
boolean
supportsMultipleResultSets()
raises( SQLException );

Description
Are multiple XResultSets from a single execute supported?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsMultipleTransactions
boolean
supportsMultipleTransactions()
raises( SQLException );

Description
Can we have multiple transactions open at once (on different connections)?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsNonNullableColumns
boolean
supportsNonNullableColumns()
raises( SQLException );

Description
Can columns be defined as non-nullable?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsMinimumSQLGrammar
boolean
supportsMinimumSQLGrammar()
raises( SQLException );

Description
true, if the database supports ODBC Minimum SQL grammar, otherwise false.
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsCoreSQLGrammar
boolean
supportsCoreSQLGrammar()
raises( SQLException );

Description
true, if the database supports ODBC Core SQL grammar, otherwise false.
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsExtendedSQLGrammar
boolean
supportsExtendedSQLGrammar()
raises( SQLException );

Description
true, if the database supports ODBC Extended SQL grammar, otherwise false.
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsANSI92EntryLevelSQL
boolean
supportsANSI92EntryLevelSQL()
raises( SQLException );

Returns
true, if the database supports ANSI92 entry level SQL grammar, otherwise false.
Throws
SQLException if a database access error occurs.
supportsANSI92IntermediateSQL
boolean
supportsANSI92IntermediateSQL()
raises( SQLException );

Returns
true, if the database supports ANSI92 intermediate SQL grammar, otherwise false.
Throws
SQLException if a database access error occurs.
supportsANSI92FullSQL
boolean
supportsANSI92FullSQL()
raises( SQLException );

Returns
true, if the database supports ANSI92 full SQL grammar, otherwise false.
Throws
SQLException if a database access error occurs.
supportsIntegrityEnhancementFacility
boolean
supportsIntegrityEnhancementFacility()
raises( SQLException );

Description
returns true, if the Database supports SQL Integrity Enhancement Facility, otherwise false.
Throws
SQLException if a database access error occurs.
supportsOuterJoins
boolean
supportsOuterJoins()
raises( SQLException );

Returns
true, if some form of outer join is supported, otherwise false.
Throws
SQLException if a database access error occurs.
supportsFullOuterJoins
boolean
supportsFullOuterJoins()
raises( SQLException );

Returns
true, if full nested outer joins are supported, otherwise false.
Throws
SQLException if a database access error occurs.
supportsLimitedOuterJoins
boolean
supportsLimitedOuterJoins()
raises( SQLException );

Returns
true, if there is limited support for outer joins. (This will be true if supportFullOuterJoins is true.) false is returned otherwise.
Throws
SQLException if a database access error occurs.
getSchemaTerm
string
getSchemaTerm()
raises( SQLException );

Description
return the database vendor's preferred term for "schema"
Returns
true if so
Throws
SQLException if a database access error occurs.
getProcedureTerm
string
getProcedureTerm()
raises( SQLException );

Description
return the database vendor's preferred term for "procedure"
Returns
true if so
Throws
SQLException if a database access error occurs.
getCatalogTerm
string
getCatalogTerm()
raises( SQLException );

Description
return the database vendor's preferred term for "catalog"
Returns
true if so
Throws
SQLException if a database access error occurs.
isCatalogAtStart
boolean
isCatalogAtStart()
raises( SQLException );

Description
Does a catalog appear at the start of a qualified table name? (Otherwise it appears at the end)
Returns
true if so
Throws
SQLException if a database access error occurs.
getCatalogSeparator
string
getCatalogSeparator()
raises( SQLException );

Description
return the separator between catalog and table name
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsSchemasInDataManipulation
boolean
supportsSchemasInDataManipulation()
raises( SQLException );

Description
Can a schema name be used in a data manipulation statement?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsSchemasInProcedureCalls
boolean
supportsSchemasInProcedureCalls()
raises( SQLException );

Description
Can a schema name be used in a procedure call statement?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsSchemasInTableDefinitions
boolean
supportsSchemasInTableDefinitions()
raises( SQLException );

Description
Can a schema name be used in a table definition statement?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsSchemasInIndexDefinitions
boolean
supportsSchemasInIndexDefinitions()
raises( SQLException );

Description
Can a schema name be used in an index definition statement?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsSchemasInPrivilegeDefinitions
boolean
supportsSchemasInPrivilegeDefinitions()
raises( SQLException );

Description
Can a schema name be used in a privilege definition statement?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsCatalogsInDataManipulation
boolean
supportsCatalogsInDataManipulation()
raises( SQLException );

Description
Can a catalog name be used in a data manipulation statement?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsCatalogsInProcedureCalls
boolean
supportsCatalogsInProcedureCalls()
raises( SQLException );

Description
Can a catalog name be used in a procedure call statement?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsCatalogsInTableDefinitions
boolean
supportsCatalogsInTableDefinitions()
raises( SQLException );

Description
Can a catalog name be used in a table definition statement?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsCatalogsInIndexDefinitions
boolean
supportsCatalogsInIndexDefinitions()
raises( SQLException );

Description
Can a catalog name be used in an index definition statement?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsCatalogsInPrivilegeDefinitions
boolean
supportsCatalogsInPrivilegeDefinitions()
raises( SQLException );

Description
Can a catalog name be used in a privilege definition statement?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsPositionedDelete
boolean
supportsPositionedDelete()
raises( SQLException );

Description
Is positioned DELETE supported?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsPositionedUpdate
boolean
supportsPositionedUpdate()
raises( SQLException );

Description
Is positioned UPDATE supported?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsSelectForUpdate
boolean
supportsSelectForUpdate()
raises( SQLException );

Description
Is SELECT for UPDATE supported?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsStoredProcedures
boolean
supportsStoredProcedures()
raises( SQLException );

Description
Are stored procedure calls using the stored procedure escape syntax supported?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsSubqueriesInComparisons
boolean
supportsSubqueriesInComparisons()
raises( SQLException );

Description
Are subqueries in comparison expressions supported?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsSubqueriesInExists
boolean
supportsSubqueriesInExists()
raises( SQLException );

Description
Are subqueries in 'exists' expressions supported?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsSubqueriesInIns
boolean
supportsSubqueriesInIns()
raises( SQLException );

Description
Are subqueries in 'in' statements supported?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsSubqueriesInQuantifieds
boolean
supportsSubqueriesInQuantifieds()
raises( SQLException );

Description
Are subqueries in quantified expressions supported?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsCorrelatedSubqueries
boolean
supportsCorrelatedSubqueries()
raises( SQLException );

Description
Are correlated subqueries supported?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsUnion
boolean
supportsUnion()
raises( SQLException );

Description
Is SQL UNION supported?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsUnionAll
boolean
supportsUnionAll()
raises( SQLException );

Description
Is SQL UNION ALL supported?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsOpenCursorsAcrossCommit
boolean
supportsOpenCursorsAcrossCommit()
raises( SQLException );

Description
Can cursors remain open across commits?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsOpenCursorsAcrossRollback
boolean
supportsOpenCursorsAcrossRollback()
raises( SQLException );

Description
Can cursors remain open across rollbacks?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsOpenStatementsAcrossCommit
boolean
supportsOpenStatementsAcrossCommit()
raises( SQLException );

Description
Can statements remain open across commits?
Returns
true if so
Throws
SQLException if a database access error occurs.
supportsOpenStatementsAcrossRollback
boolean
supportsOpenStatementsAcrossRollback()
raises( SQLException );

Description
Can statements remain open across rollbacks?
Returns
true if so
Throws
SQLException if a database access error occurs.
getMaxBinaryLiteralLength
long
getMaxBinaryLiteralLength()
raises( SQLException );

Description
return the maximal number of hex characters in an inline binary literal
Returns
true if so
Throws
SQLException if a database access error occurs.
getMaxCharLiteralLength
long
getMaxCharLiteralLength()
raises( SQLException );

Description
return the max length for a character literal
Returns
true if so
Throws
SQLException if a database access error occurs.
getMaxColumnNameLength
long
getMaxColumnNameLength()
raises( SQLException );

Description
return the limit on column name length
Returns
true if so
Throws
SQLException if a database access error occurs.
getMaxColumnsInGroupBy
long
getMaxColumnsInGroupBy()
raises( SQLException );

Description
return the maximum number of columns in a "GROUP BY" clause
Returns
true if so
Throws
SQLException if a database access error occurs.
getMaxColumnsInIndex
long
getMaxColumnsInIndex()
raises( SQLException );

Description
return the maximum number of columns allowed in an index
Returns
true if so
Throws
SQLException if a database access error occurs.
getMaxColumnsInOrderBy
long
getMaxColumnsInOrderBy()
raises( SQLException );

Description
return the maximum number of columns in an "ORDER BY" clause
Returns
true if so
Throws
SQLException if a database access error occurs.
getMaxColumnsInSelect
long
getMaxColumnsInSelect()
raises( SQLException );

Description
return the maximum number of columns in a "SELECT" list
Returns
true if so
Throws
SQLException if a database access error occurs.
getMaxColumnsInTable
long
getMaxColumnsInTable()
raises( SQLException );

Description
return the maximum number of columns in a table
Returns
true if so
Throws
SQLException if a database access error occurs.
getMaxConnections
long
getMaxConnections()
raises( SQLException );

Description
return the number of active connections at a time to this database.
Returns
true if so
Throws
SQLException if a database access error occurs.
getMaxCursorNameLength
long
getMaxCursorNameLength()
raises( SQLException );

Description
return the maximum cursor name length
Returns
true if so
Throws
SQLException if a database access error occurs.
getMaxIndexLength
long
getMaxIndexLength()
raises( SQLException );

Description
return the maximum length of an index (in bytes)
Returns
true if so
Throws
SQLException if a database access error occurs.
getMaxSchemaNameLength
long
getMaxSchemaNameLength()
raises( SQLException );

Description
return the maximum length allowed for a schema name
Returns
true if so
Throws
SQLException if a database access error occurs.
getMaxProcedureNameLength
long
getMaxProcedureNameLength()
raises( SQLException );

Description
return