Inherits com.dbSpaces.jdb.Base.
This class provides information about the database as a whole.
Many of the methods here return lists of information in ResultSets. You can use the normal ResultSet methods such as getString and getInt to retrieve the data from these ResultSets. If a given form of metadata is not available, these methods should throw a DatabaseException.
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, it means that argument's criteria should be dropped from the search.
A DatabaseException will be thrown if a database error occurs and exceptions are enabled. If exceptions are not enabled the following error methods can be used to get information about the error;
boolean com.dbSpaces.jdb.DatabaseMetaData.allProceduresAreCallable | ( | ) |
Can all the procedures returned by getProcedures be called by the current user?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.allTablesAreSelectable | ( | ) |
Can all the tables returned by getTables() be SELECTed by the current user?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.autoCommitFailureClosesAllResultSets | ( | ) |
Retrieves whether a DatabaseException while autoCommit is true
inidcates that all open ResultSets are closed, even ones that are holdable. When a DatabaseException occurs while autocommit is true
, it is vendor specific whether the driver responds with a commit operation, a rollback operation, or by doing neither a commit nor a rollback. A potential result of this difference is in whether or not holdable ResultSets are closed.
true
if so; false
otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.dataDefinitionCausesTransactionCommit | ( | ) |
Does a data definition statement within a transaction force the transaction to commit?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.dataDefinitionIgnoredInTransactions | ( | ) |
Is a data definition statement within a transaction ignored?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.deletesAreDetected | ( | int | type | ) |
Determine whether or not a visible row delete can be detected by calling ResultSet.rowDeleted(). If deletesAreDetected() returns false, then deleted rows are removed from the result set.
type | The result set type, i.e. ResultSet.TYPE_XXX |
true
if changes are detected by the resultset type; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.doesMaxRowSizeIncludeBlobs | ( | ) |
Did getMaxRowSize() include LONGVARCHAR and LONGVARBINARY blobs?
true
if so; false
if otherwise. ResultSet com.dbSpaces.jdb.DatabaseMetaData.getBestRowIdentifier | ( | String | catalog, |
String | schema, | ||
String | table, | ||
int | scope, | ||
boolean | nullable | ||
) | throws DatabaseException |
Get a description of a table's optimal set of columns that uniquely identifies a row. They are ordered by SCOPE.
Each column description has the following columns:
catalog | A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria |
schema | A schema name; "" retrieves those without a schema |
table | A table name |
scope | The scope of interest; use same values as SCOPE |
nullable | include columns that are nullable? |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getCatalogs | ( | ) | throws DatabaseException |
Returns a list of valid catalogs.
DatabaseException | (if exceptions are enabled) when a database error occurs. |
String com.dbSpaces.jdb.DatabaseMetaData.getCatalogSeparator | ( | ) |
What's the separator between catalog and table name?
String com.dbSpaces.jdb.DatabaseMetaData.getCatalogTerm | ( | ) |
What's the database vendor's preferred term for "catalog"?
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getColumnPrivileges | ( | String | catalogName, |
String | schemaName, | ||
String | tableName, | ||
String | columnNamePattern | ||
) | throws DatabaseException |
Get a description of the access rights for a table's columns.
Only privileges matching the column name criteria are returned. They are ordered by COLUMN_NAME and PRIVILEGE.
Each privilege description has the following columns:
catalogName | A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria |
schemaName | A schema name; "" retrieves those without a schema |
tableName | A table name |
columnNamePattern | A column name pattern |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getColumns | ( | String | catalogName, |
String | schemaPattern, | ||
String | tableNamePattern, | ||
String | columnNamePattern | ||
) | throws DatabaseException |
Get a description of table columns available in a catalog.
Only column descriptions matching the catalog, schema, table and column name criteria are returned. They are ordered by TABLE_SCHEM, TABLE_NAME and ORDINAL_POSITION.
Each column description has the following columns:
catalogName | A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria |
schemaPattern | A schema name pattern; "" retrieves those without a schema |
tableNamePattern | A table name pattern |
columnNamePattern | A column name pattern |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getCrossReference | ( | String | primaryCatalogName, |
String | primarySchemaName, | ||
String | primaryTableName, | ||
String | foreignCatalogName, | ||
String | foreignSchemaName, | ||
String | foreignTableName | ||
) | throws DatabaseException |
Get 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.
Each foreign key column description has the following columns:
primaryCatalogName | A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria |
primarySchemaName | A schema name; "" retrieves those without a schema |
primaryTableName | The table name that exports the key |
foreignCatalogName | A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria |
foreignSchemaName | A schema name; "" retrieves those without a schema |
foreignTableName | The table name that imports the key |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
int com.dbSpaces.jdb.DatabaseMetaData.getDatabaseMajorVersion | ( | ) | throws DatabaseException |
Return the database major version.
DatabaseException | (if exceptions are enabled) when a database error occurs. |
int com.dbSpaces.jdb.DatabaseMetaData.getDatabaseMinorVersion | ( | ) | throws DatabaseException |
Return the database minor version.
DatabaseException | (if exceptions are enabled) when a database error occurs. |
String com.dbSpaces.jdb.DatabaseMetaData.getDatabaseProductName | ( | ) | throws DatabaseException |
What's the name of this database product?
DatabaseException | (if exceptions are enabled) when a database error occurs. |
String com.dbSpaces.jdb.DatabaseMetaData.getDatabaseProductVersion | ( | ) | throws DatabaseException |
What's the version of this database product?
DatabaseException | (if exceptions are enabled) when a database error occurs. |
int com.dbSpaces.jdb.DatabaseMetaData.getDefaultTransactionIsolation | ( | ) |
What's the database's default transaction isolation level? The values are defined in Connection.
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getExportedKeys | ( | String | catalogName, |
String | schemaName, | ||
String | tableName | ||
) | throws DatabaseException |
Get 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.
Each foreign key column description has the following columns:
catalogName | A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria |
schemaName | A schema name; "" retrieves those without a schema |
tableName | A table name |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
String com.dbSpaces.jdb.DatabaseMetaData.getIdentifierQuoteString | ( | ) |
What's the string used to quote SQL identifiers? This returns a space " " if identifier quoting isn't supported.
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getImportedKeys | ( | String | catalogName, |
String | schemaName, | ||
String | tableName | ||
) | throws DatabaseException |
Get 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.
Each primary key column description has the following columns:
catalogName | A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria |
schemaName | A schema name; "" retrieves those without a schema |
tableName | A table name |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getIndexInfo | ( | String | catalogName, |
String | schemaName, | ||
String | tableName, | ||
boolean | unique, | ||
boolean | approximate | ||
) | throws DatabaseException |
Get a description of a table's indices and statisticallStmt. They are ordered by NON_UNIQUE, TYPE, INDEX_NAME, and ORDINAL_POSITION.
Each index column description has the following columns:
catalogName | A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria |
schemaName | A schema name; "" retrieves those without a schema |
tableName | A table name |
unique | When true , return only indices for unique values; when false , return indices regardless of whether unique or not |
approximate | When true , result is allowed to reflect approximate or out of data values; when false , results are requested to be accurate |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
int com.dbSpaces.jdb.DatabaseMetaData.getMaxBinaryLiteralLength | ( | ) |
How many hex characters can you have in an inline binary literal?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxCatalogNameLength | ( | ) |
What's the maximum length of a catalog name?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxCharLiteralLength | ( | ) |
What's the max length for a character literal?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxColumnNameLength | ( | ) |
What's the limit on column name length?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxColumnsInGroupBy | ( | ) |
What's the maximum number of columns in a "GROUP BY" clause?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxColumnsInIndex | ( | ) |
What's the maximum number of columns allowed in an index?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxColumnsInOrderBy | ( | ) |
What's the maximum number of columns in an "ORDER BY" clause?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxColumnsInSelect | ( | ) |
What's the maximum number of columns in a "SELECT" list?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxColumnsInTable | ( | ) |
What's the maximum number of columns in a table?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxConnections | ( | ) | throws DatabaseException |
How many active connections can we have at a time to this database?
DatabaseException | (if exceptions are enabled) when a database error occurs. |
int com.dbSpaces.jdb.DatabaseMetaData.getMaxCursorNameLength | ( | ) |
What's the maximum cursor name length?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxCursors | ( | ) | throws DatabaseException |
How many active statements can we have open at one time to this database?
DatabaseException | (if exceptions are enabled) when a database error occurs. |
int com.dbSpaces.jdb.DatabaseMetaData.getMaxIndexLength | ( | ) |
What's the maximum length of an index (in bytes)?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxProcedureNameLength | ( | ) |
What's the maximum length of a procedure name?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxRowSize | ( | ) |
What's the maximum length of a single row?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxSchemaNameLength | ( | ) |
What's the maximum length allowed for a schema name?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxStatementLength | ( | ) |
What's the maximum length of a SQL statement?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxTableNameLength | ( | ) |
What's the maximum length of a table name?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxTablesInSelect | ( | ) |
What's the maximum number of tables in a SELECT?
int com.dbSpaces.jdb.DatabaseMetaData.getMaxUserNameLength | ( | ) |
What's the maximum length of a user name?
String com.dbSpaces.jdb.DatabaseMetaData.getNumericFunctions | ( | ) |
Get a comma separated list of math functions. These are the X/Open CLI math function names used in the function escape clause.
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getPrimaryKeys | ( | String | catalogName, |
String | schemaName, | ||
String | tableName | ||
) | throws DatabaseException |
Get a description of a table's primary key columns. They are ordered by COLUMN_NAME.
Each primary key column description has the following columns:
catalogName | A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria |
schemaName | A schema name; "" retrieves those without a schema |
tableName | A table name |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getProcedureColumns | ( | String | catalogName, |
String | schemaPattern, | ||
String | procedureNamePattern, | ||
String | columnNamePattern | ||
) | throws DatabaseException |
Get a description of a catalog's stored procedure parameters and result columns.
Only descriptions matching the schema, procedure and parameter name criteria are returned. They are ordered by PROCEDURE_SCHEM and PROCEDURE_NAME. Within this, the return value, if any, is first. Next are the parameter descriptions in call order. The column descriptions follow in column number order.
Each row in the ResultSet is a parameter description or column description with the following fields:
Note: Some databases may not return the column descriptions for a procedure. Additional columns beyond REMARKS can be defined by the database.
catalogName | A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria |
schemaPattern | A schema name pattern; "" retrieves those without a schema |
procedureNamePattern | A procedure name pattern |
columnNamePattern | A column name pattern |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getProcedurePrivileges | ( | String | catalogName, |
String | schemaPattern, | ||
String | procedureNamePattern | ||
) | throws DatabaseException |
Get a description of the access rights for each procedure available in a catalog. Note that a procedure privilege applies to one or more parameters in the procedure. It would be wrong to assume that this priviledge applies to all parameters (this may be true for some systems but is not true for all.)
Only privileges matching the schema and procedure name criteria are returned. They are ordered by PROC_SCHEM, PROC_NAME, and PRIVILEGE.
Each privilige description has the following columns:
catalogName | A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria |
schemaPattern | A schema name pattern; "" retrieves those without a schema |
procedureNamePattern | A procedure name pattern |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getProcedures | ( | String | catalogName, |
String | schemaPattern, | ||
String | procedureNamePattern | ||
) | throws DatabaseException |
Get a description of stored procedures available in a catalog.
Only procedure descriptions matching the schema and procedure name criteria are returned. They are ordered by PROCEDURE_SCHEM, and PROCEDURE_NAME.
Each procedure description has the the following columns:
catalogName | A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria |
schemaPattern | A schema name pattern; "" retrieves those without a schema |
procedureNamePattern | A procedure name pattern |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
String com.dbSpaces.jdb.DatabaseMetaData.getProcedureTerm | ( | ) |
What's the database vendor preferred term for "procedure"?
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getSchemas | ( | ) | throws DatabaseException |
Get the schema names available in this database. The results are ordered by schema name.
The schema column is:
DatabaseException | (if exceptions are enabled) when a database error occurs. |
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getSchemas | ( | String | catalogName, |
String | schemaPattern | ||
) | throws DatabaseException |
Retrieves the schema names available in this database. The results are ordered by TABLE_CATALOG
and TABLE_SCHEM
.
The schema columns are:
null
) catalogName | A 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. |
schemaPattern | 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. |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
String com.dbSpaces.jdb.DatabaseMetaData.getSchemaTerm | ( | ) |
What's the database preferred term for "schema"?
String com.dbSpaces.jdb.DatabaseMetaData.getSearchStringEscape | ( | ) |
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.
String com.dbSpaces.jdb.DatabaseMetaData.getSQLKeywords | ( | ) |
Get a comma separated list of all a database's SQL keywords that are NOT also SQL92 keywords.
int com.dbSpaces.jdb.DatabaseMetaData.getSQLStateType | ( | ) |
Indicates whether the SQLSTATE returned by DatabaseException.getSQLState
is X/Open (now known as Open Group) SQL CLI or SQL:2003.
String com.dbSpaces.jdb.DatabaseMetaData.getStringFunctions | ( | ) |
Get a comma separated list of string functions. These are the X/Open CLI string function names used in the function escape clause.
String com.dbSpaces.jdb.DatabaseMetaData.getSystemFunctions | ( | ) |
Get a comma separated list of system functions. These are the X/Open CLI system function names used in the function escape clause.
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getTablePrivileges | ( | String | catalogName, |
String | schemaPattern, | ||
String | tableNamePattern | ||
) | throws DatabaseException |
Get 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.)
Only privileges matching the schema and table name criteria are returned. They are ordered by TABLE_SCHEM, TABLE_NAME, and PRIVILEGE.
Each privilige description has the following columns:
catalogName | A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria |
schemaPattern | A schema name pattern; "" retrieves those without a schema |
tableNamePattern | A table name pattern |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getTables | ( | String | catalogName, |
String | schemaPattern, | ||
String | tableNamePattern, | ||
String | types[] | ||
) | throws DatabaseException |
Get a description of tables available in a catalog.
Only table descriptions matching the catalog, schema, table name and type criteria are returned. They are ordered by TABLE_TYPE, TABLE_SCHEM and TABLE_NAME.
Each table description has the following columns:
Note: Some databases may not return information for all tables.
catalogName | A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria |
schemaPattern | A schema name pattern; "" retrieves those without a schema |
tableNamePattern | A table name pattern |
types | A list of table types to include; null returns all types |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getTableTypes | ( | ) | throws DatabaseException |
Get the table types available in this database. The results are ordered by table type.
The table type is:
DatabaseException | (if exceptions are enabled) when a database error occurs. |
String com.dbSpaces.jdb.DatabaseMetaData.getTimeDateFunctions | ( | ) |
Get a comma separated list of time and date functions.
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getTypeInfo | ( | ) | throws DatabaseException |
Get 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 SQL type.
Each type description has the following columns:
DatabaseException | (if exceptions are enabled) when a database error occurs. |
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getUDTypeInfo | ( | String | catalog, |
String | schemaPattern, | ||
String | typeNamePattern | ||
) | throws DatabaseException |
Get 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 JDBC SQL type.
Only types matching the catalog, schema, type name and type criteria are returned. They are ordered by DATA_TYPE, TYPE_SCHEM and TYPE_NAME. The type name parameter may be a fully qualified name. In this case, the catalog and schemaPattern parameters are ignored.
Each type description has the following columns:
catalog | a catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria |
schemaPattern | a schema name pattern; "" retrieves those without a schema |
typeNamePattern | a type name pattern; may be a fully qualified name |
SQLException | if a database-access error occurs. |
ResultSet com.dbSpaces.jdb.DatabaseMetaData.getVersionColumns | ( | String | catalogName, |
String | schemaName, | ||
String | tableName | ||
) | throws DatabaseException |
Get a description of a table's columns that are automatically updated when any value in a row is updated. They are unordered.
Each column description has the following columns:
catalogName | A catalog name; "" retrieves those without a catalog; null means drop catalog name from the selection criteria |
schemaName | A schema name; "" retrieves those without a schema |
tableName | A table name |
DatabaseException | (if exceptions are enabled) when a database error occurs. |
boolean com.dbSpaces.jdb.DatabaseMetaData.insertsAreDetected | ( | int | type | ) |
Determine whether or not a visible row insert can be detected by calling ResultSet.rowInserted().
type | The result set type, i.e. ResultSet.TYPE_XXX |
true
if changes are detected by the resultset type; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.isCatalogAtStart | ( | ) |
Does a catalog appear at the start of a qualified table name? (Otherwise it appears at the end)
true
if it appears at the start; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.isReadOnly | ( | ) |
Is the database in read-only mode?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.nullPlusNonNullIsNull | ( | ) |
Are concatenations between NULL and non-NULL values NULL?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.nullsAreSortedAtEnd | ( | ) |
Are NULL values sorted at the end regardless of sort order?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.nullsAreSortedAtStart | ( | ) |
Are NULL values sorted at the start regardless of sort order?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.nullsAreSortedHigh | ( | ) |
Are NULL values sorted high?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.nullsAreSortedLow | ( | ) |
Are NULL values sorted low?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.othersDeletesAreVisible | ( | int | type | ) | throws DatabaseException |
Retrieves whether deletes made by others are visible.
type | The ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY , ResultSet.TYPE_SCROLL_INSENSITIVE , or ResultSet.TYPE_SCROLL_SENSITIVE |
true
if deletes made by others are visible for the given result set type; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.othersInsertsAreVisible | ( | int | type | ) |
Retrieves whether inserts made by others are visible.
type | The ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY , ResultSet.TYPE_SCROLL_INSENSITIVE , or ResultSet.TYPE_SCROLL_SENSITIVE |
true
if inserts made by others are visible for the given result set type; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.othersUpdatesAreVisible | ( | int | type | ) |
Determine whether changes made by others are visible.
type | The result set type, i.e. ResultSet.TYPE_XXX |
true
if changes are visible for the result set type; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.ownDeletesAreVisible | ( | int | type | ) |
Retrieves whether a result set's own deletes are visible.
type | The ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY , ResultSet.TYPE_SCROLL_INSENSITIVE , or ResultSet.TYPE_SCROLL_SENSITIVE |
true
if deletes are visible for the given result set type; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.ownInsertsAreVisible | ( | int | type | ) |
Retrieves whether a result set's own inserts are visible.
type | The ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY , ResultSet.TYPE_SCROLL_INSENSITIVE , or ResultSet.TYPE_SCROLL_SENSITIVE |
true
if inserts are visible for the given result set type; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.ownUpdatesAreVisible | ( | int | type | ) |
Retrieves whether for the given type of ResultSet
object, the result set's own updates are visible.
type | The ResultSet type; one of ResultSet.TYPE_FORWARD_ONLY , ResultSet.TYPE_SCROLL_INSENSITIVE , or ResultSet.TYPE_SCROLL_SENSITIVE |
true
if updates are visible for the given result set type; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.storesLowerCaseIdentifiers | ( | ) |
Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in lower case?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.storesLowerCaseQuotedIdentifiers | ( | ) |
Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in lower case?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.storesMixedCaseIdentifiers | ( | ) |
Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in mixed case?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.storesMixedCaseQuotedIdentifiers | ( | ) |
Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in mixed case?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.storesUpperCaseIdentifiers | ( | ) |
Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in upper case?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.storesUpperCaseQuotedIdentifiers | ( | ) |
Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in upper case?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsAlterTableWithAddColumn | ( | ) |
Is "ALTER TABLE" with add column supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsAlterTableWithDropColumn | ( | ) |
Is "ALTER TABLE" with drop column supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsANSI92EntryLevelSQL | ( | ) |
Is the ANSI92 entry level SQL grammar supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsANSI92FullSQL | ( | ) |
Is the ANSI92 full SQL grammar supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsANSI92IntermediateSQL | ( | ) |
Is the ANSI92 intermediate SQL grammar supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsBatchUpdates | ( | ) |
Does the database support batch updates.
true
if batch updates are supported; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsCatalogsInDataManipulation | ( | ) |
Can a catalog name be used in a data manipulation statement?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsCatalogsInIndexDefinitions | ( | ) |
Can a catalog name be used in an index definition statement?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsCatalogsInPrivilegeDefinitions | ( | ) |
Can a catalog name be used in a privilege definition statement?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsCatalogsInProcedureCalls | ( | ) |
Can a catalog name be used in a procedure call statement?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsCatalogsInTableDefinitions | ( | ) |
Can a catalog name be used in a table definition statement?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsColumnAliasing | ( | ) |
Is column aliasing supported?
If so, the SQL AS clause can be used to provide names for computed columns or to provide alias names for columns as required.
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsConvert | ( | ) |
Is the CONVERT function between SQL types supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsConvert | ( | int | fromType, |
int | toType | ||
) |
Is CONVERT between the given SQL types supported?
fromType | The type to convert from. |
toType | The type to convert to. |
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsCoreSQLGrammar | ( | ) |
Is the Core SQL grammar supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsCorrelatedSubqueries | ( | ) |
Are correlated subqueries supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsDataDefinitionAndDataManipulationTransactions | ( | ) |
Are both data definition and data manipulation statements within a transaction supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsDataManipulationTransactionsOnly | ( | ) |
Are only data manipulation statements within a transaction supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsDifferentTableCorrelationNames | ( | ) |
If table correlation names are supported, are they restricted to be different from the names of the tables?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsExpressionsInOrderBy | ( | ) |
Are expressions in "ORDER BY" lists supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsExtendedSQLGrammar | ( | ) |
Is Extended SQL grammar supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsFullOuterJoins | ( | ) |
Are full nested outer joins supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsGetGeneratedKeys | ( | ) |
Retrieves whether auto-generated keys can be retrieved after a statement has been executed.
true
if auto-generated keys can be retrieved after a statement has executed; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsGroupBy | ( | ) |
Is some form of "GROUP BY" clause supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsGroupByBeyondSelect | ( | ) |
Can a "GROUP BY" clause add columns not in the SELECT provided it specifies all the columns in the SELECT?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsGroupByUnrelated | ( | ) |
Can a "GROUP BY" clause use columns not in the SELECT?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsIntegrityEnhancementFacility | ( | ) |
Is the SQL Integrity Enhancement Facility supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsLikeEscapeClause | ( | ) |
Is the escape character in "LIKE" clauses supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsLimitedOuterJoins | ( | ) |
Is there limited support for outer joins? (This will be true if supportFullOuterJoins is true.)
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsMinimumSQLGrammar | ( | ) |
Is the Minimum SQL grammar supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsMixedCaseIdentifiers | ( | ) |
Does the database treat mixed case unquoted SQL identifiers as case sensitive and as a result store them in mixed case?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsMixedCaseQuotedIdentifiers | ( | ) |
Does the database treat mixed case quoted SQL identifiers as case sensitive and as a result store them in mixed case?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsMultipleOpenResults | ( | ) |
Retrieves whether it is possible to have multiple ResultSet objects returned from a Statment object simultaneously.
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsMultipleResultSets | ( | ) |
Are multiple ResultSets from a single execute supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsMultipleTransactions | ( | ) |
Can we have multiple transactions open at once (on different connections)?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsNamedParameters | ( | ) |
Does dynamic SQL statements support named parameters?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsNonNullableColumns | ( | ) |
Can columns be defined as non-nullable?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsOpenCursorsAcrossCommit | ( | ) |
Can cursors remain open across commits?
true
if cursors always remain open; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsOpenCursorsAcrossRollback | ( | ) |
Can cursors remain open across rollbacks?
true
if cursors always remain open; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsOpenStatementsAcrossCommit | ( | ) |
Can statements remain open across commits?
true
if statements always remain open; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsOpenStatementsAcrossRollback | ( | ) |
Can statements remain open across rollbacks?
true
if statements always remain open; false
if they might not remain open. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsOrderByUnrelated | ( | ) |
Can an "ORDER BY" clause use columns not in the SELECT?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsOuterJoins | ( | ) |
Is some form of outer join supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsPositionedDelete | ( | ) |
Is positioned DELETE supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsPositionedUpdate | ( | ) |
Is positioned UPDATE supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsResultSetConcurrency | ( | int | type, |
int | concurrency | ||
) |
Does the database support the concurrency type in combination with the given result set type?
type | defined in ResultSet |
concurrency | type defined in ResultSet |
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsResultSetHoldability | ( | int | holdability | ) |
Retrieves whether this database supports the given result set holdability.
holdability | One of the following constants: ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMIT |
true
if so; false
if otherwise. DatabaseException | (if exceptions are enabled) when a database error occurs. |
boolean com.dbSpaces.jdb.DatabaseMetaData.supportsResultSetType | ( | int | type | ) |
Does the database support the given result set type?
type | Defined in ResultSet |
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsSavepoints | ( | ) |
Does transactions support savepoinsts?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsSchemasInDataManipulation | ( | ) |
Can a schema name be used in a data manipulation statement?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsSchemasInIndexDefinitions | ( | ) |
Can a schema name be used in an index definition statement?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsSchemasInPrivilegeDefinitions | ( | ) |
Can a schema name be used in a privilege definition statement?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsSchemasInProcedureCalls | ( | ) |
Can a schema name be used in a procedure call statement?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsSchemasInTableDefinitions | ( | ) |
Can a schema name be used in a table definition statement?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsSelectForUpdate | ( | ) |
Is SELECT for UPDATE supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsStatementPooling | ( | ) |
Is statement pooling supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsStoredFunctionsUsingCallSyntax | ( | ) |
Retrieves whether this database supports invoking user-defined or system functions using the stored procedure escape syntax.
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsStoredProcedures | ( | ) |
Are stored procedure calls using the stored procedure escape syntax supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsSubqueriesInComparisons | ( | ) |
Are subqueries in comparison expressions supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsSubqueriesInExists | ( | ) |
Are subqueries in 'exists' expressions supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsSubqueriesInIns | ( | ) |
Are subqueries in 'in' statements supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsSubqueriesInQuantifieds | ( | ) |
Are subqueries in quantified expressions supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsTableCorrelationNames | ( | ) |
Are table correlation names supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsTransactionIsolationLevel | ( | int | level | ) | throws DatabaseException |
Does the database support the given transaction isolation level?
level | The values are defined in Connection |
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsTransactions | ( | ) |
Are transactions supported? If not, commit is a noop and the isolation level is TRANSACTION_NONE.
boolean com.dbSpaces.jdb.DatabaseMetaData.supportsUnion | ( | ) |
Is SQL UNION supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.supportsUnionAll | ( | ) |
Is SQL UNION ALL supported?
true
if so; false
if otherwise. boolean com.dbSpaces.jdb.DatabaseMetaData.updatesAreDetected | ( | int | type | ) |
Determine whether or not a visible row update can be detected by calling ResultSet.rowUpdated().
type | The result set type, i.e. ResultSet.TYPE_XXX |
true
if changes are detected by the resultset type; false
if otherwise.