| java.lang.Object com.quadcap.jdbc.DatabaseMetaData
DatabaseMetaData | public class DatabaseMetaData implements java.sql.DatabaseMetaData(Code) | | This class implements the java.sql.DatabaseMetaData interface,
which provides a way for the JDBC application to determine which features
a database supports and also a way to explore the database schema, through
information analagous to the SQL "INFORMATION_SCHEMA".
author: Stan Bailes |
Method Summary | |
public boolean | allProceduresAreCallable() Return true if the current user has the privileges necessary to
invoke all procedures returned by getProcedures() . | public boolean | allTablesAreSelectable() Return true if the current user can use a SELECT
statement with all tables returned by getTables() . | public boolean | dataDefinitionCausesTransactionCommit() A data definition statement within a transaction does not force
a commit in QED. | public boolean | dataDefinitionIgnoredInTransactions() Data definition statements within transactions are not ignored
in QED. | public boolean | deletesAreDetected(int type) For all types of ResultSets, deleted rows are simply removed
from the ResultSet, so this function always returns false. | final void | doPattern(StringBuffer sb, String name, String pattern) | final void | doString(StringBuffer sb, String name, String val) | public boolean | doesMaxRowSizeIncludeBlobs() QED doesn't impose any maximum row size, so this function is
really a don't care, but we return true anyway. | public java.sql.ResultSet | getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) Retrieves a description of the given attribute of the given type
for a user-defined type (UDT) that is available in the given schema
and catalog.
Descriptions are returned only for attributes of UDTs matching the
catalog, schema, type, and attribute name criteria. | public java.sql.ResultSet | getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) Return a resultset containing the set of columns that "best uniquely
identify a row". | public String | getCatalogSeparator() QED doesn't support catalogs, so there is no separator. | public String | getCatalogTerm() Call it what you like, but QED doesn't support catalogs. | public java.sql.ResultSet | getCatalogs() QED doesn't support catalogs, but we return an empty ResultSet
of the right signature as a courtesy. | public java.sql.ResultSet | getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) QED doesn't support access controls, but we return an empty ResultSet
of the right signature as a courtesy. | public java.sql.ResultSet | getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) This function returns a ResultSet object containing
information about the specified columns. | public java.sql.Connection | getConnection() Return the Connection object that was used to create this
DatabaseMetaData object. | public java.sql.ResultSet | getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) This function returns a ResultSet object containing
information about the foreign key relationships in the database.
Parameters: primaryCatalog - not used Parameters: primarySchema - a schema name. | public int | getDatabaseMajorVersion() Retrieves the major version number of the underlying database. | public int | getDatabaseMinorVersion() Retrieves the minor version number of the underlying database. | public String | getDatabaseProductName() | public String | getDatabaseProductVersion() Return the version for this product. | public int | getDefaultTransactionIsolation() Return the default transaction isolation level. | public int | getDriverMajorVersion() Return the driver major version number. | public int | getDriverMinorVersion() Return the driver minor version number. | public String | getDriverName() | public String | getDriverVersion() Return the version for this JDBC Driver. | public java.sql.ResultSet | getExportedKeys(String catalog, String schema, String table) This function returns a ResultSet object that
contains information about the foreign key columns that reference
the primary keys in the specified table.
Parameters: catalog - ignored, since catalogs not supported by QED. Parameters: schema - a schema name. | public String | getExtraNameCharacters() Returns a string consisting of all characters that can be used
in unquoted identifier names other than alphanumerics and _). | public String | getIdentifierQuoteString() Return the string used to quote SQL identifiers. | public java.sql.ResultSet | getImportedKeys(String catalog, String schema, String table) This function returns a ResultSet object that
contains information about the primary key columns that are
referenced by the foreign keys in the specified table.
Parameters: catalog - ignored, since catalogs not supported by QED. Parameters: schema - a schema name. | public java.sql.ResultSet | getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) This function returns a ResultSet object that
contains information about the index columns in the specified
table.
Parameters: catalog - ignored, since catalogs not supported by QED. Parameters: schema - a schema name. | public int | getJDBCMajorVersion() Retrieves the major JDBC version number for this
driver. | public int | getJDBCMinorVersion() Retrieves the minor JDBC version number for this
driver. | public int | getMaxBinaryLiteralLength() Return the maximum size of a binary literal. | public int | getMaxCatalogNameLength() QED doesn't support catalogs, but if it did, it wouldn't impose
a limit on the length of their names. | public int | getMaxCharLiteralLength() Return the maximum size of a character literal. | public int | getMaxColumnNameLength() Return the maximum length of a column name. | public int | getMaxColumnsInGroupBy() Return the maximum number of columns in a GROUP BY
clause. | public int | getMaxColumnsInIndex() Return the maximum number of columns in an index. | public int | getMaxColumnsInOrderBy() Return the maximum number of columns in an ORDER BY
clause. | public int | getMaxColumnsInSelect() Return the maximum number of columns in a SELECT
clause. | public int | getMaxColumnsInTable() Return the maximum number of columns in an table. | public int | getMaxConnections() Return the maximum number of active connections that can
be maintained by this driver instance. | public int | getMaxCursorNameLength() QED doesn't support named cursors, but if it did, it wouldn't impose
a limit on the length of their names. | public int | getMaxIndexLength() Return the maximum number of bytes in an index. | public int | getMaxProcedureNameLength() QED doesn't support stored procedures, but if it did, it wouldn't impose
a limit on the length of their names. | public int | getMaxRowSize() Return the maximum number of bytes in a single row. | public int | getMaxSchemaNameLength() Return the maximum length of a schema name. | public int | getMaxStatementLength() Return the maximum number of characters in an SQL statement. | public int | getMaxStatements() Return the maximum number of concurrently active statements that
can be open on a single connection. | public int | getMaxTableNameLength() Return the maximum length of a table name. | public int | getMaxTablesInSelect() Return the maximum number of tables allowed in a SELECT
clause. | public int | getMaxUserNameLength() Return the maximum length of a user name. | public String | getNumericFunctions() Return a comma-separated string containing the names of the
numeric functions supported by QED. | public java.sql.ResultSet | getPrimaryKeys(String catalog, String schema, String table) This function returns a ResultSet describing the
primary key columns of the specified table.
Parameters: catalog - ignored, since catalogs not supported by QED. Parameters: schema - a schema name. | public java.sql.ResultSet | getProcedureColumns(String catalog, String schemaNamePattern, String procedureNamePattern, String columnNamePattern) Stored procedures aren't supported by QED, but
we return an empty result set with the right signature as a courtesy. | public String | getProcedureTerm() Whatever. | public java.sql.ResultSet | getProcedures(String catalog, String schemaNamePattern, String procedureNamePattern) Stored procedures aren't supported by QED, but
we return an empty result set with the right signature as a courtesy. | public int | getResultSetHoldability() Retrieves the default holdability of this ResultSet
object. | public String | getSQLKeywords() Returns a list of database keywords that are not also SQL-92
keywords. | public int | getSQLStateType() Indicates whether the SQLSTATEs returned by
SQLException.getSQLState
is X/Open (now known as Open Group) SQL CLI or SQL99. | public String | getSchemaTerm() Get the "database vendor's preferred term for 'schema'". | public java.sql.ResultSet | getSchemas() Return a result set containing the names of the database schemas. | public String | getSearchStringEscape() Return the default value for the escape sequence that can be
used to escape literal "_" and "%" pattern characters in
LIKE pattern strings. | public String | getStringFunctions() Return a comma-separated string containing the names of the
string functions supported by QED. | public java.sql.ResultSet | getSuperTables(String catalog, String schemaPattern, String tableNamePattern) Retrieves a description of the table hierarchies defined in a
particular
schema in this database.
Only supertable information for tables matching the catalog, schema
and table name are returned. | public java.sql.ResultSet | getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) Retrieves a description of the user-defined type (UDT) hierarchies
defined in a
particular schema in this database. | public String | getSystemFunctions() Return a comma-separated string containing the names of the
system functions supported by QED. | public java.sql.ResultSet | getTablePrivileges(String catalog, String schema, String tableNamePattern) QED doesn't support column privs, but we return an empty ResultSet
of the right signature as a courtesy. | public java.sql.ResultSet | getTableTypes() This function returns a ResultSet which describes
the table types supported by QED. | public java.sql.ResultSet | getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) This function returns a ResultSet describing the
tables in the database.
Parameters: catalog - ignored, since catalogs not supported by QED. Parameters: schemaPattern - a SQL "like" pattern. | public String | getTimeDateFunctions() Return a comma-separated string containing the names of the
date-time functions supported by QED. | public java.sql.ResultSet | getTypeInfo() This function returns a ResultSet listing the data
types supported by QED.
exception: SQLException - may be thrown.The column in the ResultSet object has the followingdefinition:1: TYPE_NAMEString Containing the SQL-92 name of the type2: DATA_TYPEshort Giving the JDBC type, fromjava.sql.Types 3: PRECISIONint indicating the maximum precision fornumeric types, and -1 for non-numeric types4: LITERAL_PREFIXString for character types, the ' character; for other types, null 5: LITERAL_SUFFIXString for character types, the ' character; for other types, null 6: CREATE_PARAMSString Giving the parameters used whencreating the type. | public java.sql.ResultSet | getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) Not implemented in this QED release. | public String | getURL() Return the URL used to connect to this database. | public String | getUserName() Return the user name used to connect to this database. | public java.sql.ResultSet | getVersionColumns(String catalog, String schema, String table) QED doesn't support this feature, but we return an empty ResultSet
of the right signature as a courtesy. | public boolean | insertsAreDetected(int type) JDBC specifies two criteria for determining whether inserts are
detected. | public boolean | isCatalogAtStart() Catalogs aren't supported in QED, but we'll play along at thig point. | public boolean | isReadOnly() This release of QED doesn't support read-only connections or
databases, completely.... | public boolean | locatorsUpdateCopy() Indicates whether updates made to a LOB are made on a copy or directly
to the LOB. | public boolean | nullPlusNonNullIsNull() Most boolean operators (e.g, arithmetic, logical, string operators)
produce a NULL result when one of the operands is
NULL . | public boolean | nullsAreSortedAtEnd() In QED, NULL s are sorted low. | public boolean | nullsAreSortedAtStart() In QED, NULL s are sorted low. | public boolean | nullsAreSortedHigh() In QED, NULL s are sorted low. | public boolean | nullsAreSortedLow() In QED, NULL s are sorted low. | public boolean | othersDeletesAreVisible(int type) | public boolean | othersInsertsAreVisible(int type) | public boolean | othersUpdatesAreVisible(int type) | public boolean | ownDeletesAreVisible(int type) This release of QED doesn't fully support visible change detection. | public boolean | ownInsertsAreVisible(int type) This release of QED doesn't fully support visible change detection. | public boolean | ownUpdatesAreVisible(int type) This release of QED doesn't fully support visible change detection. | Expression | parseExpression(String s) | public boolean | storesLowerCaseIdentifiers() QED treats mixed case identifiers in SQL statements as case-insensitve
and stores them internally in upper case. | public boolean | storesLowerCaseQuotedIdentifiers() QED treats mixed case quoted identifiers in SQL statements as
case-insensitve
and stores them internally in upper case. | public boolean | storesMixedCaseIdentifiers() QED treats mixed case identifiers in SQL statements as case-insensitve
and stores them internally in upper case. | public boolean | storesMixedCaseQuotedIdentifiers() QED treats mixed case quoted identifiers in SQL statements as
case-insensitve
and stores them internally in upper case. | public boolean | storesUpperCaseIdentifiers() QED treats mixed case identifiers in SQL statements as case-insensitve
and stores them internally in upper case. | public boolean | storesUpperCaseQuotedIdentifiers() QED treats mixed case quoted identifiers in SQL statements as
case-insensitve
and stores them internally in upper case. | public boolean | supportsANSI92EntryLevelSQL() | public boolean | supportsANSI92FullSQL() QED supports many, but not all, of the features of Full
SQL 92. | public boolean | supportsANSI92IntermediateSQL() | public boolean | supportsAlterTableWithAddColumn() | public boolean | supportsAlterTableWithDropColumn() | public boolean | supportsBatchUpdates() | public boolean | supportsCatalogsInDataManipulation() | public boolean | supportsCatalogsInIndexDefinitions() | public boolean | supportsCatalogsInPrivilegeDefinitions() | public boolean | supportsCatalogsInProcedureCalls() | public boolean | supportsCatalogsInTableDefinitions() | public boolean | supportsColumnAliasing() QED supports column aliasing via the AS clause
of the SELECT statement. | public boolean | supportsConvert() This QED release doesn't implement the CONVERT
function. | public boolean | supportsConvert(int fromType, int toType) This QED release doesn't implement the CONVERT
function. | public boolean | supportsCoreSQLGrammar() QED supports everything in the ODBC Core SQL grammar except
GRANT and REVOKE . | public boolean | supportsCorrelatedSubqueries() | public boolean | supportsDataDefinitionAndDataManipulationTransactions() Both data definition statements and data manipulation statements
can be arbitrarily mixed within a transaction. | public boolean | supportsDataManipulationTransactionsOnly() The JDBC spec says that this function should return true if
this database supports only data manipulation statements within
a transaction
.
It's not clear what this is supposed to mean. | public boolean | supportsDifferentTableCorrelationNames() Table correlation names are supported in QED, but they are not
required to be different from the names of the source tables,
so this function returns false . | public boolean | supportsExpressionsInOrderBy() | public boolean | supportsExtendedSQLGrammar() | public boolean | supportsFullOuterJoins() | public boolean | supportsGetGeneratedKeys() Retrieves whether auto-generated keys can be retrieved after
a statement has been executed. | public boolean | supportsGroupBy() | public boolean | supportsGroupByBeyondSelect() In QED, the GROUP BY clause can only specify columns
that are in the SELECT clause. | public boolean | supportsGroupByUnrelated() In QED, the GROUP BY clause can only specify columns
that are in the SELECT clause. | public boolean | supportsIntegrityEnhancementFacility() | public boolean | supportsLikeEscapeClause() QED supports the LIKE escape clause using the standard
SQL-92 escape syntax. | public boolean | supportsLimitedOuterJoins() Since supportsFullOuterJoins() returns true ,
this method should return true as well. | public boolean | supportsMinimumSQLGrammar() | public boolean | supportsMixedCaseIdentifiers() QED converts mixed case identifiers to upper case for storage
in the metadata structures. | public boolean | supportsMixedCaseQuotedIdentifiers() QED converts mixed case quoted identifiers to upper case for storage
in the metadata structures. | public boolean | supportsMultipleOpenResults() Retrieves whether it is possible to have multiple
ResultSet objects
returned from a CallableStatement object
simultaneously. | public boolean | supportsMultipleResultSets() This QED release supports only a single active result set per
Statement . | public boolean | supportsMultipleTransactions() | public boolean | supportsNamedParameters() Retrieves whether this database supports named parameters to callable
statements. | public boolean | supportsNonNullableColumns() QED supports definining columns as non-nullable, via the
standard SQL-92 NOT NULL constraint. | public boolean | supportsOpenCursorsAcrossCommit() | public boolean | supportsOpenCursorsAcrossRollback() | public boolean | supportsOpenStatementsAcrossCommit() Statements per se are not closed by QED on commit, but the
ResultSet associated with a statement is. | public boolean | supportsOpenStatementsAcrossRollback() Statements per se are not closed by QED on rollback, but the
ResultSet associated with a statement is. | public boolean | supportsOrderByUnrelated() In QED, the ORDER BY clause can only specify columns
that are in the SELECT clause. | public boolean | supportsOuterJoins() QED supports the full set of SQL-92 outer join operations. | public boolean | supportsPositionedDelete() QED supports positioned DELETE statements. | public boolean | supportsPositionedUpdate() QED supports positioned UPDATE statements. | public boolean | supportsResultSetConcurrency(int type, int concurrency) | public boolean | supportsResultSetHoldability(int holdability) Retrieves whether this database supports the given result set
holdability. | public boolean | supportsResultSetType(int type) This release of QED supports TYPE_FORWARD_ONLY
ResultSet s. | public boolean | supportsSavepoints() Retrieves whether this database supports savepoints. | public boolean | supportsSchemasInDataManipulation() QED supports using schema names in data manipulation statements. | public boolean | supportsSchemasInIndexDefinitions() QED supports using schema names in index definition statements. | public boolean | supportsSchemasInPrivilegeDefinitions() QED doesn't support privilege definitions. | public boolean | supportsSchemasInProcedureCalls() | public boolean | supportsSchemasInTableDefinitions() QED supports using schema names in table definition statements. | public boolean | supportsSelectForUpdate() QED supports the SELECT ... | public boolean | supportsStatementPooling() Retrieves weather this database supports statement pooling. | public boolean | supportsStoredProcedures() | public boolean | supportsSubqueriesInComparisons() | public boolean | supportsSubqueriesInExists() | public boolean | supportsSubqueriesInIns() | public boolean | supportsSubqueriesInQuantifieds() | public boolean | supportsTableCorrelationNames() | public boolean | supportsTransactionIsolationLevel(int level) | public boolean | supportsTransactions() | public boolean | supportsUnion() | public boolean | supportsUnionAll() | public boolean | updatesAreDetected(int type) | public boolean | usesLocalFilePerTable() | public boolean | usesLocalFiles() QED uses local files to store the database, the lock file,
and the transaction logs. |
allProceduresAreCallable | public boolean allProceduresAreCallable()(Code) | | Return true if the current user has the privileges necessary to
invoke all procedures returned by getProcedures() .
Since QED doesn't support access privileges,
this function always returns false, though since it doesn't support
stored procedures, this isn't likely to matter.
true |
allTablesAreSelectable | public boolean allTablesAreSelectable()(Code) | | Return true if the current user can use a SELECT
statement with all tables returned by getTables() .
Since QED doesn't support access privileges, this function always
returns true.
true |
dataDefinitionCausesTransactionCommit | public boolean dataDefinitionCausesTransactionCommit()(Code) | | A data definition statement within a transaction does not force
a commit in QED.
false |
dataDefinitionIgnoredInTransactions | public boolean dataDefinitionIgnoredInTransactions()(Code) | | Data definition statements within transactions are not ignored
in QED.
false |
deletesAreDetected | public boolean deletesAreDetected(int type)(Code) | | For all types of ResultSets, deleted rows are simply removed
from the ResultSet, so this function always returns false.
false |
doesMaxRowSizeIncludeBlobs | public boolean doesMaxRowSizeIncludeBlobs()(Code) | | QED doesn't impose any maximum row size, so this function is
really a don't care, but we return true anyway.
true |
getAttributes | public java.sql.ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException(Code) | | 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.
Descriptions are returned only for attributes of UDTs matching the
catalog, schema, type, and attribute name criteria. They are ordered by
TYPE_SCHEM, TYPE_NAME and ORDINAL_POSITION. This description
does not contain inherited attributes.
The ResultSet object that is returned has the following
columns:
- TYPE_CAT String => type catalog (may be
null )
- TYPE_SCHEM String => type schema (may be
null )
- TYPE_NAME String => type name
- ATTR_NAME String => attribute name
- DATA_TYPE short => attribute type SQL type from
java.sql.Types
- ATTR_TYPE_NAME String => Data source dependent type name.
For a UDT, the type name is fully qualified. For a REF, the type
name is
fully qualified and represents the target type of the reference type.
- ATTR_SIZE int => column size. For char or date
types this is the maximum number of characters; for numeric or
decimal types this is precision.
- DECIMAL_DIGITS int => the number of fractional digits
- NUM_PREC_RADIX int => Radix (typically either 10 or 2)
- NULLABLE int => whether NULL is allowed
- attributeNoNulls - might not allow NULL values
- attributeNullable - definitely allows NULL values
- attributeNullableUnknown - nullability unknown
- REMARKS String => comment describing column (may be
null )
- ATTR_DEF String => default value (may be
null )
- SQL_DATA_TYPE int => unused
- SQL_DATETIME_SUB int => unused
- CHAR_OCTET_LENGTH int => for char types the
maximum number of bytes in the column
- ORDINAL_POSITION int => index of column in table
(starting at 1)
- IS_NULLABLE String => "NO" means column definitely
does not allow NULL values; "YES" means the column might
allow NULL values. An empty string means unknown.
- SCOPE_CATALOG String => catalog of table that is the
scope of a reference attribute (
null if DATA_TYPE
isn't REF)
- SCOPE_SCHEMA String => schema of table that is the
scope of a reference attribute (
null if DATA_TYPE
isn't REF)
- SCOPE_TABLE String => table name that is the scope of a
reference attribute (
null if the DATA_TYPE isn't REF)
- SOURCE_DATA_TYPE short => source type of a distinct type or
user-generated
Ref type,SQL type from java.sql.Types (
null if
DATA_TYPE
isn't DISTINCT or user-generated REF)
Parameters: catalog - a catalog name; must match the catalog name as itis stored in the database; "" retrieves those without a catalog;null means that the catalog name should not beused to narrowthe search Parameters: schemaPattern - a schema name pattern; must match the schema nameas it is stored in the database; "" retrieves those without aschema;null means that the schema name should not beused to narrowthe search Parameters: typeNamePattern - a type name pattern; must match thetype name as it is stored in the database Parameters: attributeNamePattern - an attribute name pattern; must matchthe attributename as it is declared in the database a ResultSet object in which each row is an attribute description exception: SQLException - if a database access error occurs since: 1.4 |
getBestRowIdentifier | public java.sql.ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException(Code) | | Return a resultset containing the set of columns that "best uniquely
identify a row". In QED, this is interpreted to mean the 'primary key'
constraint, if specified, otherwise a 'unique' constraint, maybe...
the specified ResultSet exception: SQLException - may be thrown |
getCatalogSeparator | public String getCatalogSeparator()(Code) | | QED doesn't support catalogs, so there is no separator.
the empty string |
getCatalogTerm | public String getCatalogTerm()(Code) | | Call it what you like, but QED doesn't support catalogs.
"catalog" |
getColumns | public java.sql.ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException(Code) | | This function returns a ResultSet object containing
information about the specified columns.
Parameters: catalog - not used Parameters: schemaPattern - a SQL "like" pattern. All schema names matchingthis pattern are selected. If this parameter is the emptystring, all schemas are selected. Parameters: tableNamePattern - a SQL "like" pattern. All table names matching this pattern are selected. Parameters: columnNamePattern - a SQL "like" pattern. All column names matching this pattern are selected. a ResultSet object, with each row being adescription of a table column.The columns in the ResultSet object have thefollowing definition:1: TABLE_CATnull (Catalogs not supported by QED)2: TABLE_SCHEMString giving the table's schema3: TABLE_NAMEString giving the table's name4: COLUMN_NAMEString giving the column name5: DATA_TYPEshort type from java.sql.types 6: TYPE_NAMEString giving the SQL type7: COLUMN_SIZEint For numeric types, this is the precision; for character types, it's the maximum width8: BUFFER_LENGTHnull unused9: DECIMAL_DIGITSint For numeric types, the number of digits to the right of the decimal point. For other types, -1 10: NUM_PREC_RADIXint 1011: NULLABLEint One of: ResultSetMetaData.columnNoNulls ResultSetMetaData.columnNullable ResultSetMetaData.columnNullableUnknown 12: REMARKSnull 13: COLUMN_DEFString The column's default value, cast to a String . null if the column doesn't have a default value14: SQL_DATA_TYPEnull 15: SQL_DATETIME_SUBnull 16: CHAR_OCTET_LENGTHint For character types, two times the maximum numberof characters in the column. null for other types.17: ORDINAL_POSITIONint The index of the column in its table.18: IS_NULLABLEString One of "NO" ,"YES" , or "" exception: SQLException - may be thrown. |
getConnection | public java.sql.Connection getConnection()(Code) | | Return the Connection object that was used to create this
DatabaseMetaData object.
a Connection object |
getCrossReference | public java.sql.ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException(Code) | | This function returns a ResultSet object containing
information about the foreign key relationships in the database.
Parameters: primaryCatalog - not used Parameters: primarySchema - a schema name. Used to specify the schema nameof the table containing the primary key. null specifies all schemas. Parameters: foreignCatalog - not used Parameters: foreignSchema - a schema name. Used to specify the schema nameof the table containing the foreign key. null specifies all schemas. Parameters: foreignTable - the name of the table containing the foreign key. a ResultSet object, with each row being adescription of a foreign key column. exception: SQLException - may be thrown.The columns in the ResultSet object have the followingdefinition:
1: PKTABLE_CATnull (Catalogs not supported by QED)2: PKTABLE_SCHEMString giving the schema of the primary key's table.3: PKTABLE_NAMEString giving the name of the primary key's table4: PKCOLUMN_NAMEString giving the column name of the primary key5: FKTABLE_CATString (An empty string in QED)6: FKTABLE_SCHEMString giving the schema of the foreign key's table.7: FKTABLE_NAMEString giving the name of the foreign key's table8: FKCOLUMN_NAMEString giving the column name of the foreign key9: KEY_SEQshort indicating the column number within the foreign key, if the foreign key hasmore than one column10: UPDATE_RULEshort indicating what happens when the primary key is updated: The values supported by QEDare: DatabaseMetaData.importedKeyRestrict DatabaseMetaData.importedKeyCascade 11: DELETE_RULEshort indicating what happens when the primary key is deleted: The values supported by QEDare: DatabaseMetaData.importedKeyRestrict DatabaseMetaData.importedKeyCascade 12: FK_NAMEnull 13: PK_NAMEnull 14: DEFERRABILITYshort indicating whether foreign key constraintchecking can be deferred. One of: DatabaseMetaData.importedKeyInitiallyDeferred DatabaseMetaData.importedKeyInitiallyImmediate DatabaseMetaData.importedKeyNotDeferrable
This QED release remembers the deferability specificationin the original DDL statement, but deferred constraint checkingis not supported in this release. |
getDatabaseMajorVersion | public int getDatabaseMajorVersion() throws SQLException(Code) | | Retrieves the major version number of the underlying database.
the underlying database's major version exception: SQLException - if a database access error occurs since: 1.4 |
getDatabaseMinorVersion | public int getDatabaseMinorVersion() throws SQLException(Code) | | Retrieves the minor version number of the underlying database.
underlying database's minor version exception: SQLException - if a database access error occurs since: 1.4 |
getDatabaseProductName | public String getDatabaseProductName()(Code) | | Return the database product name, "QED"
QED |
getDefaultTransactionIsolation | public int getDefaultTransactionIsolation()(Code) | | Return the default transaction isolation level. For QED, the
default (and only supported) transaction isolation level is
Connection.TRANSACTION_SERIALIZABLE .
|
getDriverMajorVersion | public int getDriverMajorVersion()(Code) | | Return the driver major version number.
the driver's major version number |
getDriverMinorVersion | public int getDriverMinorVersion()(Code) | | Return the driver minor version number.
the driver's minor version number |
getDriverName | public String getDriverName()(Code) | | Return the name of this JDBC driver
the string "com.quadcap.jdbc.JdbcDriver" |
getExportedKeys | public java.sql.ResultSet getExportedKeys(String catalog, String schema, String table) throws SQLException(Code) | | This function returns a ResultSet object that
contains information about the foreign key columns that reference
the primary keys in the specified table.
Parameters: catalog - ignored, since catalogs not supported by QED. Parameters: schema - a schema name. Used to specify the schema nameof the table containing the primary key. null specifies any schema. Parameters: table - the name of the table containing the primary key. a ResultSet object, with each row being adescription of a foreign key column. exception: SQLException - may be thrown.The columns in the ResultSet object have the followingdefinition:
1: PKTABLE_CATnull (Catalogs not supported by QED)2: PKTABLE_SCHEMString giving the schema of the primary key's table.3: PKTABLE_NAMEString giving the name of the primary key's table4: PKCOLUMN_NAMEString giving the column name of the primary key5: FKTABLE_CATnull (Catalogs not supported by QED)6: FKTABLE_SCHEMString giving the schema of the foreign key's table.7: FKTABLE_NAMEString giving the name of the foreign key's table8: FKCOLUMN_NAMEString giving the column name of the foreign key9: KEY_SEQshort indicating the column number within the foreign key, if the foreign key hasmore than one column10: UPDATE_RULEshort indicating what happens when the primary key is updated: The values supported by QEDare: DatabaseMetaData.importedKeyRestrict DatabaseMetaData.importedKeyCascade 11: DELETE_RULEshort indicating what happens when the primary key is deleted: The values supported by QEDare: DatabaseMetaData.importedKeyRestrict DatabaseMetaData.importedKeyCascade 12: FK_NAMEnull 13: PK_NAMEnull 14: DEFERRABILITYshort indicating whether foreign key constraintchecking can be deferred. One of: DatabaseMetaData.importedKeyInitiallyDeferred DatabaseMetaData.importedKeyInitiallyImmediate DatabaseMetaData.importedKeyNotDeferrable
This QED release remembers the deferability specificationin the original DDL statement, but deferred constraint checkingis not supported in this release. |
getExtraNameCharacters | public String getExtraNameCharacters()(Code) | | Returns a string consisting of all characters that can be used
in unquoted identifier names other than alphanumerics and _).
In QED, this returns the empty string, since only alphanumerics
and underscore are valid identifier characters.
the empty string |
getIdentifierQuoteString | public String getIdentifierQuoteString()(Code) | | Return the string used to quote SQL identifiers.
the double-quote character: " |
getImportedKeys | public java.sql.ResultSet getImportedKeys(String catalog, String schema, String table) throws SQLException(Code) | | This function returns a ResultSet object that
contains information about the primary key columns that are
referenced by the foreign keys in the specified table.
Parameters: catalog - ignored, since catalogs not supported by QED. Parameters: schema - a schema name. Used to specify the schema nameof the table containing the foreign key. null specifies any schema. Parameters: table - the name of the table containing the foreign key. a ResultSet object, with each row being adescription of a foreign key column. exception: SQLException - may be thrown.The columns in the ResultSet object have the followingdefinition:
1: PKTABLE_CATnull (Catalogs not supported by QED)2: PKTABLE_SCHEMString giving the schema of the primary key's table.3: PKTABLE_NAMEString giving the name of the primary key's table4: PKCOLUMN_NAMEString giving the column name of the primary key5: FKTABLE_CATnull (Catalogs not supported by QED)6: FKTABLE_SCHEMString giving the schema of the foreign key's table.7: FKTABLE_NAMEString giving the name of the foreign key's table8: FKCOLUMN_NAMEString giving the column name of the foreign key9: KEY_SEQshort indicating the column number within the foreign key, if the foreign key hasmore than one column10: UPDATE_RULEshort indicating what happens when the primary key is updated: The values supported by QEDare: DatabaseMetaData.importedKeyRestrict DatabaseMetaData.importedKeyCascade 11: DELETE_RULEshort indicating what happens when the primary key is deleted: The values supported by QEDare: DatabaseMetaData.importedKeyRestrict DatabaseMetaData.importedKeyCascade 12: FK_NAMEthe name of the foreign key constraint13: PK_NAMEnull 14: DEFERRABILITYshort indicating whether foreign key constraintchecking can be deferred. One of: DatabaseMetaData.importedKeyInitiallyDeferred DatabaseMetaData.importedKeyInitiallyImmediate DatabaseMetaData.importedKeyNotDeferrable
This QED release remembers the deferability specificationin the original DDL statement, but deferred constraint checkingis not supported in this release. |
getIndexInfo | public java.sql.ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException(Code) | | This function returns a ResultSet object that
contains information about the index columns in the specified
table.
Parameters: catalog - ignored, since catalogs not supported by QED. Parameters: schema - a schema name. Used to specify the schema nameof the table. null specifies any schema. Parameters: table - the name of the table. a ResultSet object, with each row being adescription of an index column. exception: SQLException - may be thrown.The columns in the ResultSet object have the followingdefinition:
1: TABLE_CATnull (Catalogs not supported by QED)2: TABLE_SCHEMString giving the table's schema3: TABLE_NAMEString giving the table's name4: NON_UNIQUEboolean false if index values must be unique, true otherwise.5: INDEX_QUALIFIERQED returns "global" if this is a globalindex, null otherwise.6: INDEX_NAMEString the name of the index7: TYPEshort DatabaseMetaData.tableIndexOther 8: ORDINAL_POSITIONshort indicating the column sequencewithin the index9: COLUMN_NAMEString The name of the column10: ASC_OR_DESCString always "A" 11: CARDINALITYnull The JDBC specification says that this returns the number of unique values in the index,a statistic which is not kept in this release ofQED.12: PAGESnull The JDBC specification says that this returns the number of pages used by the index,a statistic which is not kept in this release ofQED.13: FILTER_CONDITIONnull not supported by QED |
getJDBCMajorVersion | public int getJDBCMajorVersion() throws SQLException(Code) | | Retrieves the major JDBC version number for this
driver.
JDBC version major number exception: SQLException - if a database access error occurs since: 1.4 |
getJDBCMinorVersion | public int getJDBCMinorVersion() throws SQLException(Code) | | Retrieves the minor JDBC version number for this
driver.
JDBC version minor number exception: SQLException - if a database access error occurs since: 1.4 |
getMaxBinaryLiteralLength | public int getMaxBinaryLiteralLength()(Code) | | Return the maximum size of a binary literal. QED has no
architectural limitation on literal sizes, and so always
returns zero.
zero, meaning unlimited. |
getMaxCatalogNameLength | public int getMaxCatalogNameLength()(Code) | | QED doesn't support catalogs, but if it did, it wouldn't impose
a limit on the length of their names.
zero, meaning unlimited. |
getMaxCharLiteralLength | public int getMaxCharLiteralLength()(Code) | | Return the maximum size of a character literal. QED has no
architectural limitation on literal sizes, and so always
returns zero.
zero, meaning unlimited. |
getMaxColumnNameLength | public int getMaxColumnNameLength()(Code) | | Return the maximum length of a column name. QED has no
architectural limitation on name sizes, and so always
returns zero.
zero, meaning unlimited. |
getMaxColumnsInGroupBy | public int getMaxColumnsInGroupBy()(Code) | | Return the maximum number of columns in a GROUP BY
clause. QED has no architectural limitation on
GROUP BY clauses, and so always
returns zero.
zero, meaning unlimited. |
getMaxColumnsInIndex | public int getMaxColumnsInIndex()(Code) | | Return the maximum number of columns in an index.
QED has no architectural limitation on index columns,
and so always returns zero.
zero, meaning unlimited. |
getMaxColumnsInOrderBy | public int getMaxColumnsInOrderBy()(Code) | | Return the maximum number of columns in an ORDER BY
clause. QED has no architectural limitation on
ORDER BY clauses, and so always
returns zero.
zero, meaning unlimited. |
getMaxColumnsInSelect | public int getMaxColumnsInSelect()(Code) | | Return the maximum number of columns in a SELECT
clause. QED has no architectural limitation on
SELECT clauses, and so always
returns zero.
zero, meaning unlimited. |
getMaxColumnsInTable | public int getMaxColumnsInTable()(Code) | | Return the maximum number of columns in an table.
QED has no architectural limitation on table columns,
and so always returns zero.
zero, meaning unlimited. |
getMaxConnections | public int getMaxConnections()(Code) | | Return the maximum number of active connections that can
be maintained by this driver instance.
QED has no architectural limitation on datbase connections,
and so always returns zero.
zero, meaning unlimited. |
getMaxCursorNameLength | public int getMaxCursorNameLength()(Code) | | QED doesn't support named cursors, but if it did, it wouldn't impose
a limit on the length of their names.
zero, meaning unlimited. |
getMaxIndexLength | public int getMaxIndexLength()(Code) | | Return the maximum number of bytes in an index. QED has no
architectural limitation on index sizes, and so always returns zero.
zero, meaning unlimited. |
getMaxProcedureNameLength | public int getMaxProcedureNameLength()(Code) | | QED doesn't support stored procedures, but if it did, it wouldn't impose
a limit on the length of their names.
zero, meaning unlimited. |
getMaxRowSize | public int getMaxRowSize()(Code) | | Return the maximum number of bytes in a single row. QED has no
architectural limitation on row sizes, and so always returns zero.
zero, meaning unlimited. |
getMaxSchemaNameLength | public int getMaxSchemaNameLength()(Code) | | Return the maximum length of a schema name. QED has no
architectural limitation on schema sizes, and so always
returns zero.
zero, meaning unlimited. |
getMaxStatementLength | public int getMaxStatementLength()(Code) | | Return the maximum number of characters in an SQL statement. QED has no
architectural limitation on statement sizes, and so always
returns zero.
zero, meaning unlimited. |
getMaxStatements | public int getMaxStatements()(Code) | | Return the maximum number of concurrently active statements that
can be open on a single connection. The QED threading model
essentially restricts the application to a single active
ResultSet per connection. If another statement
is executed which creates a ResultSet , the first
ResultSet will be automatically closed.
one |
getMaxTableNameLength | public int getMaxTableNameLength()(Code) | | Return the maximum length of a table name. QED has no
architectural limitation on name lengths, and so always
returns zero.
zero, meaning unlimited. |
getMaxTablesInSelect | public int getMaxTablesInSelect()(Code) | | Return the maximum number of tables allowed in a SELECT
clause. QED has no
architectural limitation on this, and so always
returns zero.
zero, meaning unlimited. |
getMaxUserNameLength | public int getMaxUserNameLength()(Code) | | Return the maximum length of a user name. QED has no
architectural limitation on name lengths, and so always
returns zero.
zero, meaning unlimited. |
getNumericFunctions | public String getNumericFunctions()(Code) | | Return a comma-separated string containing the names of the
numeric functions supported by QED.
This string contains the Open Group
CLI names for the following functions:
ABS,ACOS,ASIN,ATAN,ATAN2,CEILING,COS,COT,DEGREES,EXP,FLOOR
LOG,LOG10,MOD,PI,POWER,RADIANS,RAND,ROUND,SIGN,SIN,SQRT,TAN
TRUNCATE
|
getPrimaryKeys | public java.sql.ResultSet getPrimaryKeys(String catalog, String schema, String table) throws SQLException(Code) | | This function returns a ResultSet describing the
primary key columns of the specified table.
Parameters: catalog - ignored, since catalogs not supported by QED. Parameters: schema - a schema name. Used to specify the schema nameof the table. null specifies any schema. Parameters: table - the name of the table. a ResultSet object, with each row being adescription of an index column. exception: SQLException - may be thrown.The columns in the ResultSet object have the followingdefinition:
1: TABLE_CATnull (Catalogs not supported by QED)2: TABLE_SCHEMString giving the table's schema3: TABLE_NAMEString giving the table's name4: COLUMN_NAMEString giving the column name5: KEY_SEQshort indicating the column sequencewithin the primary key6: PK_NAMEString The name of the primary key constraint |
getProcedureColumns | public java.sql.ResultSet getProcedureColumns(String catalog, String schemaNamePattern, String procedureNamePattern, String columnNamePattern) throws SQLException(Code) | | Stored procedures aren't supported by QED, but
we return an empty result set with the right signature as a courtesy.
Parameters: catalog - N/A Parameters: schemaNamePattern - N/A Parameters: procedureNamePattern - N/A Parameters: columnNamePattern - N/A |
getProcedures | public java.sql.ResultSet getProcedures(String catalog, String schemaNamePattern, String procedureNamePattern) throws SQLException(Code) | | Stored procedures aren't supported by QED, but
we return an empty result set with the right signature as a courtesy.
Parameters: catalog - N/A Parameters: schemaNamePattern - N/A Parameters: procedureNamePattern - N/A |
getResultSetHoldability | public int getResultSetHoldability() throws SQLException(Code) | | Retrieves the default holdability of this ResultSet
object.
the default holdability; either ResultSet.HOLD_CURSORS_OVER_COMMIT orResultSet.CLOSE_CURSORS_AT_COMMIT exception: SQLException - if a database access error occurs since: 1.4 |
getSQLKeywords | public String getSQLKeywords()(Code) | | Returns a list of database keywords that are not also SQL-92
keywords. For this release of QED, this is currently the
empty string.
"" |
getSQLStateType | public int getSQLStateType() throws SQLException(Code) | | Indicates whether the SQLSTATEs returned by
SQLException.getSQLState
is X/Open (now known as Open Group) SQL CLI or SQL99.
the type of SQLSTATEs, one of:sqlStateXOpen orsqlStateSQL99 throws: SQLException - if a database access error occurs since: 1.4 |
getSchemaTerm | public String getSchemaTerm()(Code) | | Get the "database vendor's preferred term for 'schema'".
"schema" |
getSearchStringEscape | public String getSearchStringEscape()(Code) | | Return the default value for the escape sequence that can be
used to escape literal "_" and "%" pattern characters in
LIKE pattern strings.
the string "\" |
getStringFunctions | public String getStringFunctions()(Code) | | Return a comma-separated string containing the names of the
string functions supported by QED.
This string contains the Open Group
CLI names for the following functions:
ASCII, CHAR, CONCAT, DIFFERENCE, INSERT, LCASE, LOWER, LEFT, LENGTH
LOCATE, LTRIM, REPEAT, REPLACE, RIGHT, RTRIM, SOUNDEX, SPACE
SUBSTRING, UCASE, UPPER
|
getSuperTables | public java.sql.ResultSet getSuperTables(String catalog, String schemaPattern, String tableNamePattern) throws SQLException(Code) | | Retrieves a description of the table hierarchies defined in a
particular
schema in this database.
Only supertable information for tables matching the catalog, schema
and table name are returned. The table name parameter may be a fully-
qualified name, in which case, the catalog and schemaPattern parameters
are ignored. If a table does not have a super table, it is not
listed here.
Supertables have to be defined in the same catalog and schema as the
sub tables. Therefore, the type description does not need to include
this information for the supertable.
Each type description has the following columns:
- TABLE_CAT String => the type's catalog (may be
null )
- TABLE_SCHEM String => type's schema (may be
null )
- TABLE_NAME String => type name
- SUPERTABLE_NAME String => the direct super type's name
Note: If the driver does not support type hierarchies, an
empty result set is returned.
Parameters: catalog - a catalog name; "" retrieves those without a catalog;null means drop catalog name from the selectioncriteria Parameters: schemaPattern - a schema name pattern; "" retrieves those without a schema Parameters: tableNamePattern - a table name pattern; may be a fully-qualifiedname a ResultSet object in which each row is a typedescription throws: SQLException - if a database access error occurs since: 1.4 |
getSuperTypes | public java.sql.ResultSet getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) throws SQLException(Code) | | Retrieves a description of the user-defined type (UDT) hierarchies
defined in a
particular schema in this database. Only the immediate super type/
sub type relationship is modeled.
Only supertype information for UDTs matching the catalog,
schema, and type name is returned. The type name parameter
may be a fully-qualified name. When the UDT name supplied is a
fully-qualified name, the catalog and schemaPattern parameters are
ignored.
If a UDT does not have a direct super type, it is not listed here.
A row of the ResultSet object returned by this method
describes the designated UDT and a direct supertype. A row has the
following
columns:
- TYPE_CAT String => the UDT's catalog (may be
null )
- TYPE_SCHEM String => UDT's schema (may be
null )
- TYPE_NAME String => type name of the UDT
- SUPERTYPE_CAT String => the direct super type's catalog
(may be
null )
- SUPERTYPE_SCHEM String => the direct super type's schema
(may be
null )
- SUPERTYPE_NAME String => the direct super type's name
Note: If the driver does not support type hierarchies, an
empty result set is returned.
Parameters: catalog - a catalog name; "" retrieves those without a catalog;null means drop catalog name from the selectioncriteria Parameters: schemaPattern - a schema name pattern; "" retrieves those without a schema Parameters: typeNamePattern - a UDT name pattern; may be a fully-qualifiedname a ResultSet object in which a row gives informationabout the designated UDT throws: SQLException - if a database access error occurs since: 1.4 |
getSystemFunctions | public String getSystemFunctions()(Code) | | Return a comma-separated string containing the names of the
system functions supported by QED.
This string contains the Open Group
CLI names for the following functions:
DATABASE, IFNULL, USER
|
getTableTypes | public java.sql.ResultSet getTableTypes() throws SQLException(Code) | | This function returns a ResultSet which describes
the table types supported by QED.
exception: SQLException - may be thrown.The column in the ResultSet object has the followingdefinition:1: TABLE_TYPEString listing the table type.One of: TABLE VIEW GLOBAL TEMPORARY LOCAL TEMPORARY
|
getTables | public java.sql.ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SQLException(Code) | | This function returns a ResultSet describing the
tables in the database.
Parameters: catalog - ignored, since catalogs not supported by QED. Parameters: schemaPattern - a SQL "like" pattern. All schema names matchingthis pattern are selected. If this parameter is the emptystring, all schemas are selected. Parameters: tableNamePattern - a SQL "like" pattern. All table names matching this pattern are selected. Parameters: types - an array of strings specifying the table types tobe returned, from the set: "TABLE", "VIEW","LOCAL TEMPORARY", "GLOBAL TEMPORARY" a ResultSet object, with each row being adescription of a table. exception: SQLException - may be thrown.The columns in the ResultSet object have the followingdefinition:
1: TABLE_CATnull (Catalogs not supported by QED)2: TABLE_SCHEMString giving the table's schema3: TABLE_NAMEString giving the table's name4: TABLE_TYPEString The table type. One of: TABLE VIEW GLOBAL TEMPORARY LOCAL TEMPORARY 5: REMARKSnull |
getTimeDateFunctions | public String getTimeDateFunctions() throws SQLException(Code) | | Return a comma-separated string containing the names of the
date-time functions supported by QED.
This string contains the Open Group
CLI names for the following functions:
CURDATE,CURTIME,DAYNAME,DAYOFMONTH,DAYOFWEEK,DAYOFYEAR
HOUR,MINUTE,MONTH,MONTHNAME,NOW,QUARTER,SECOND,TIMESTAMPADD
TIMESTAMPDIFF,WEEK,YEAR
|
getTypeInfo | public java.sql.ResultSet getTypeInfo() throws SQLException(Code) | | This function returns a ResultSet listing the data
types supported by QED.
exception: SQLException - may be thrown.The column in the ResultSet object has the followingdefinition:1: TYPE_NAMEString Containing the SQL-92 name of the type2: DATA_TYPEshort Giving the JDBC type, fromjava.sql.Types 3: PRECISIONint indicating the maximum precision fornumeric types, and -1 for non-numeric types4: LITERAL_PREFIXString for character types, the ' character; for other types, null 5: LITERAL_SUFFIXString for character types, the ' character; for other types, null 6: CREATE_PARAMSString Giving the parameters used whencreating the type. Typically, for character types,"length" , and for numeric types, "precision" 7: NULLABLEint indicating whether a type is nullable.All types are nullable in QED, so this alwayscontains DatabaseMetaData.typeNullable .8: CASE_SENSITIVEboolean if the type is case-sensitive.Always true in QED.9: SEARCHABLEshort indicating if this type can be usedin a WHERE clause. QED always returnsDatabaseMetaData.typeSearchable 10: UNSIGNED_ATTRIBUTEboolean true ifthis type is unsigned, false otherwise11: FIXED_PREC_SCALEboolean true ifthis type can be a currency value12: AUTO_INCREMENTfalse in QED, no auto-increment typesare supported.13: LOCAL_TYPE_NAMEnull 14: MINIMUM_SCALEshort indicating the minimum scalesupported for tthis type15: MAXIMUM_SCALEshort indicating the maximum scalesupported for tthis type16: SQL_DATA_TYPEint null 17: SQL_DATETIME_SUBint null 18: NUM_PREC_RADIXint 10 |
getURL | public String getURL()(Code) | | Return the URL used to connect to this database.
the database URL. |
getUserName | public String getUserName()(Code) | | Return the user name used to connect to this database.
the user name |
insertsAreDetected | public boolean insertsAreDetected(int type)(Code) | | JDBC specifies two criteria for determining whether inserts are
detected.
- A row that has been inserted appears in the
ResultSet
object without having to close and reopen it
and
- The method
ResultSet.rowInserted will return
true if the current row was one inserted after
the ResultSet was opened
This release of QED always returns false
to ResultSet.rowInserted .
Parameters: type - the type of ResultSet false |
isCatalogAtStart | public boolean isCatalogAtStart() throws SQLException(Code) | | Catalogs aren't supported in QED, but we'll play along at thig point.
Return true, yep, catalog is at start
|
isReadOnly | public boolean isReadOnly()(Code) | | This release of QED doesn't support read-only connections or
databases, completely....
false |
locatorsUpdateCopy | public boolean locatorsUpdateCopy() throws SQLException(Code) | | Indicates whether updates made to a LOB are made on a copy or directly
to the LOB.
true if updates are made to a copy of the LOB;false if updates are made directly to the LOB throws: SQLException - if a database access error occurs since: 1.4 |
nullPlusNonNullIsNull | public boolean nullPlusNonNullIsNull()(Code) | | Most boolean operators (e.g, arithmetic, logical, string operators)
produce a NULL result when one of the operands is
NULL . One notable exception is logical operators
such as AND and OR , where, e.g.,
(NULL AND FALSE) = FALSE
true |
nullsAreSortedAtEnd | public boolean nullsAreSortedAtEnd()(Code) | | In QED, NULL s are sorted low.
false |
nullsAreSortedAtStart | public boolean nullsAreSortedAtStart()(Code) | | In QED, NULL s are sorted low.
false |
nullsAreSortedHigh | public boolean nullsAreSortedHigh()(Code) | | In QED, NULL s are sorted low.
false |
nullsAreSortedLow | public boolean nullsAreSortedLow()(Code) | | In QED, NULL s are sorted low.
true |
othersDeletesAreVisible | public boolean othersDeletesAreVisible(int type)(Code) | | Due to QED's table-level locking strategy, combined with
strictly serializable transaction execution, it's not possible
to see other transaction's deletes
Parameters: type - the ResultSet type, ignored false |
othersInsertsAreVisible | public boolean othersInsertsAreVisible(int type)(Code) | | Due to QED's table-level locking strategy, combined with
strictly serializable transaction execution, it's not possible
to see other transaction's inserts
Parameters: type - the ResultSet type, ignored false |
othersUpdatesAreVisible | public boolean othersUpdatesAreVisible(int type)(Code) | | Due to QED's table-level locking strategy, combined with
strictly serializable transaction execution, it's not possible
to see other transaction's updates
Parameters: type - the ResultSet type, ignored false |
ownDeletesAreVisible | public boolean ownDeletesAreVisible(int type)(Code) | | This release of QED doesn't fully support visible change detection.
Parameters: type - the ResultSet type, ignored false |
ownInsertsAreVisible | public boolean ownInsertsAreVisible(int type)(Code) | | This release of QED doesn't fully support visible change detection.
Parameters: type - the ResultSet type, ignored false |
ownUpdatesAreVisible | public boolean ownUpdatesAreVisible(int type)(Code) | | This release of QED doesn't fully support visible change detection.
Parameters: type - the ResultSet type, ignored true |
storesLowerCaseIdentifiers | public boolean storesLowerCaseIdentifiers()(Code) | | QED treats mixed case identifiers in SQL statements as case-insensitve
and stores them internally in upper case.
false |
storesLowerCaseQuotedIdentifiers | public boolean storesLowerCaseQuotedIdentifiers()(Code) | | QED treats mixed case quoted identifiers in SQL statements as
case-insensitve
and stores them internally in upper case.
false |
storesMixedCaseIdentifiers | public boolean storesMixedCaseIdentifiers()(Code) | | QED treats mixed case identifiers in SQL statements as case-insensitve
and stores them internally in upper case.
false |
storesMixedCaseQuotedIdentifiers | public boolean storesMixedCaseQuotedIdentifiers()(Code) | | QED treats mixed case quoted identifiers in SQL statements as
case-insensitve
and stores them internally in upper case.
false |
storesUpperCaseIdentifiers | public boolean storesUpperCaseIdentifiers()(Code) | | QED treats mixed case identifiers in SQL statements as case-insensitve
and stores them internally in upper case.
true |
storesUpperCaseQuotedIdentifiers | public boolean storesUpperCaseQuotedIdentifiers()(Code) | | QED treats mixed case quoted identifiers in SQL statements as
case-insensitve
and stores them internally in upper case.
true |
supportsANSI92EntryLevelSQL | public boolean supportsANSI92EntryLevelSQL()(Code) | | QED supports Entry Level SQL 92
true |
supportsANSI92FullSQL | public boolean supportsANSI92FullSQL()(Code) | | QED supports many, but not all, of the features of Full
SQL 92.
- Bit Strings, Timestamps with explicit precision
- UPPER(), LOWER()
- CROSS JOIN, UNION JOIN
- IS [NOT] {TRUE|FALSE|UNKNOWN}
- MATCH conditions in foreign key constraints
- TABLE table
Not supported are the following:
- CONNECT, SET CONNECTION, DISCONNECT
- SET CATALOG (or catalogs at all), SET SCHEMA, SET NAMES
- POSITION()
- CREATE ASSERTION, DROP ASSERTION
- ON UPDATE in foreign key constraints
- TEMPORARY tables
false |
supportsANSI92IntermediateSQL | public boolean supportsANSI92IntermediateSQL()(Code) | | QED supports many Intermediate Level features from SQL 92:
- Long identifiers, lowercase identifiers, named constraints
- Datetimes, intervals
- CHARACTER_LENGTH(), OCTET_LENGTH(), SUBSTRING(), TRIM(), CAST()
- JOIN, EXCEPT, INTERSECT, UNION CORRESPONDING
- SELECT AS, SELECT column-commalist, SELECT X.*
- UNIQUE
- ALTER TABLE, DROP TABLE, DROP VIEW
- Many other entry level restrictions are relaxed.
Not supported are the following:
- CURRENT_USER(), SYSTEM_USER()
- DROP SCHEMA
- ON DELETE in foreign key definitions
- Dynamic SQL, explicit SQL CURSOR support (e.g., FOR UPDATE),
anything that basically overlaps with JDBC functionality.
|
supportsAlterTableWithAddColumn | public boolean supportsAlterTableWithAddColumn()(Code) | | QED supports ALTER TABLE ADD COLUMN
true |
supportsAlterTableWithDropColumn | public boolean supportsAlterTableWithDropColumn()(Code) | | This release of QED doesn't support
ALTER TABLE DROP COLUMN
false |
supportsBatchUpdates | public boolean supportsBatchUpdates()(Code) | | This release of QED doesn't support batch updates
false |
supportsCatalogsInDataManipulation | public boolean supportsCatalogsInDataManipulation()(Code) | | QED doesn't support catalogs
false |
supportsCatalogsInIndexDefinitions | public boolean supportsCatalogsInIndexDefinitions() throws SQLException(Code) | | QED doesn't support catalogs
false |
supportsCatalogsInPrivilegeDefinitions | public boolean supportsCatalogsInPrivilegeDefinitions()(Code) | | QED doesn't support catalogs
false |
supportsCatalogsInProcedureCalls | public boolean supportsCatalogsInProcedureCalls()(Code) | | QED doesn't support catalogs
false |
supportsCatalogsInTableDefinitions | public boolean supportsCatalogsInTableDefinitions()(Code) | | QED doesn't support catalogs
false |
supportsColumnAliasing | public boolean supportsColumnAliasing()(Code) | | QED supports column aliasing via the AS clause
of the SELECT statement.
true |
supportsConvert | public boolean supportsConvert()(Code) | | This QED release doesn't implement the CONVERT
function. Use the SQL
CAST expression AS type construct
instead.
false |
supportsConvert | public boolean supportsConvert(int fromType, int toType)(Code) | | This QED release doesn't implement the CONVERT
function. Use the SQL
CAST expression AS type construct
instead.
Parameters: fromType - the type to convert from Parameters: toType - the type to conver to false |
supportsCoreSQLGrammar | public boolean supportsCoreSQLGrammar()(Code) | | QED supports everything in the ODBC Core SQL grammar except
GRANT and REVOKE .
false |
supportsCorrelatedSubqueries | public boolean supportsCorrelatedSubqueries()(Code) | | QED supports correlated sub-queries
true |
supportsDataDefinitionAndDataManipulationTransactions | public boolean supportsDataDefinitionAndDataManipulationTransactions()(Code) | | Both data definition statements and data manipulation statements
can be arbitrarily mixed within a transaction.
true |
supportsDataManipulationTransactionsOnly | public boolean supportsDataManipulationTransactionsOnly()(Code) | | The JDBC spec says that this function should return true if
this database supports only data manipulation statements within
a transaction
.
It's not clear what this is supposed to mean. (If data definition
statements can be included in a transaction, should this function
return false ?).
In any case QED allows transactions that contain only data
manipulation statements, so this function returns true .
true |
supportsDifferentTableCorrelationNames | public boolean supportsDifferentTableCorrelationNames()(Code) | | Table correlation names are supported in QED, but they are not
required to be different from the names of the source tables,
so this function returns false .
false |
supportsExpressionsInOrderBy | public boolean supportsExpressionsInOrderBy()(Code) | | In QED, ORDER BY clauses must specify column names
false |
supportsExtendedSQLGrammar | public boolean supportsExtendedSQLGrammar()(Code) | | QED doesn't fully support the ODBC Extended SQL grammar
false |
supportsFullOuterJoins | public boolean supportsFullOuterJoins()(Code) | | QED supports full nested outer joins
true |
supportsGetGeneratedKeys | public boolean supportsGetGeneratedKeys() throws SQLException(Code) | | Retrieves whether auto-generated keys can be retrieved after
a statement has been executed.
true if auto-generated keys can be retrievedafter a statement has executed; false otherwise exception: SQLException - if a database access error occurs since: 1.4 |
supportsGroupBy | public boolean supportsGroupBy()(Code) | | QED supports GROUP BY
true |
supportsGroupByBeyondSelect | public boolean supportsGroupByBeyondSelect()(Code) | | In QED, the GROUP BY clause can only specify columns
that are in the SELECT clause.
false |
supportsGroupByUnrelated | public boolean supportsGroupByUnrelated()(Code) | | In QED, the GROUP BY clause can only specify columns
that are in the SELECT clause.
false |
supportsIntegrityEnhancementFacility | public boolean supportsIntegrityEnhancementFacility()(Code) | | QED supports the SQL "integrity enhancement facility"
true |
supportsLikeEscapeClause | public boolean supportsLikeEscapeClause()(Code) | | QED supports the LIKE escape clause using the standard
SQL-92 escape syntax.
true |
supportsLimitedOuterJoins | public boolean supportsLimitedOuterJoins()(Code) | | Since supportsFullOuterJoins() returns true ,
this method should return true as well. And so it
does.
true |
supportsMinimumSQLGrammar | public boolean supportsMinimumSQLGrammar()(Code) | | QED supports the ODBC Minimum SQL grammar
true |
supportsMixedCaseIdentifiers | public boolean supportsMixedCaseIdentifiers()(Code) | | QED converts mixed case identifiers to upper case for storage
in the metadata structures.
false |
supportsMixedCaseQuotedIdentifiers | public boolean supportsMixedCaseQuotedIdentifiers()(Code) | | QED converts mixed case quoted identifiers to upper case for storage
in the metadata structures.
false |
supportsMultipleOpenResults | public boolean supportsMultipleOpenResults() throws SQLException(Code) | | Retrieves whether it is possible to have multiple
ResultSet objects
returned from a CallableStatement object
simultaneously.
true if a CallableStatement objectcan return multiple ResultSet objectssimultaneously; false otherwise exception: SQLException - if a datanase access error occurs since: 1.4 |
supportsMultipleResultSets | public boolean supportsMultipleResultSets()(Code) | | This QED release supports only a single active result set per
Statement .
false |
supportsMultipleTransactions | public boolean supportsMultipleTransactions()(Code) | | QED supports multiple simultaneous transactions (on different
connections)
true |
supportsNamedParameters | public boolean supportsNamedParameters() throws SQLException(Code) | | Retrieves whether this database supports named parameters to callable
statements.
true if named parameters are supported; false otherwise exception: SQLException - if a database access error occurs since: 1.4 |
supportsNonNullableColumns | public boolean supportsNonNullableColumns()(Code) | | QED supports definining columns as non-nullable, via the
standard SQL-92 NOT NULL constraint.
true |
supportsOpenCursorsAcrossCommit | public boolean supportsOpenCursorsAcrossCommit()(Code) | | A commit causes any open cursors in this connection to be closed
false |
supportsOpenCursorsAcrossRollback | public boolean supportsOpenCursorsAcrossRollback()(Code) | | A rollback causes any open cursors in this connection to be closed
false |
supportsOpenStatementsAcrossCommit | public boolean supportsOpenStatementsAcrossCommit()(Code) | | Statements per se are not closed by QED on commit, but the
ResultSet associated with a statement is.
true |
supportsOpenStatementsAcrossRollback | public boolean supportsOpenStatementsAcrossRollback()(Code) | | Statements per se are not closed by QED on rollback, but the
ResultSet associated with a statement is.
true |
supportsOrderByUnrelated | public boolean supportsOrderByUnrelated()(Code) | | In QED, the ORDER BY clause can only specify columns
that are in the SELECT clause.
false |
supportsOuterJoins | public boolean supportsOuterJoins()(Code) | | QED supports the full set of SQL-92 outer join operations.
true |
supportsPositionedDelete | public boolean supportsPositionedDelete()(Code) | | QED supports positioned DELETE statements.
true |
supportsPositionedUpdate | public boolean supportsPositionedUpdate()(Code) | | QED supports positioned UPDATE statements.
true |
supportsResultSetConcurrency | public boolean supportsResultSetConcurrency(int type, int concurrency)(Code) | | This release of QED supports TYPE_FORWARD_ONLY
ResultSet s, with either
ResultSet.CONCUR_READ_ONLY or
ResultSet.CONCUR_UPDATABLE concurrency
Parameters: type - the ResultSet type Parameters: concurrency - the concurrency level true if the type == ResultSet.TYPE_FORWARD_ONLY . |
supportsResultSetHoldability | public boolean supportsResultSetHoldability(int holdability) throws SQLException(Code) | | Retrieves whether this database supports the given result set
holdability.
Parameters: holdability - one of the following constants:ResultSet.HOLD_CURSORS_OVER_COMMIT orResultSet.CLOSE_CURSORS_AT_COMMIT true if so; false otherwise exception: SQLException - if a database access error occurs See Also: Connection since: 1.4 |
supportsResultSetType | public boolean supportsResultSetType(int type)(Code) | | This release of QED supports TYPE_FORWARD_ONLY
ResultSet s.
Parameters: type - the ResultSet type true if the type == ResultSet.TYPE_FORWARD_ONLY . |
supportsSavepoints | public boolean supportsSavepoints() throws SQLException(Code) | | Retrieves whether this database supports savepoints.
true if savepoints are supported; false otherwise exception: SQLException - if a database access error occurs since: 1.4 |
supportsSchemasInDataManipulation | public boolean supportsSchemasInDataManipulation()(Code) | | QED supports using schema names in data manipulation statements.
true |
supportsSchemasInIndexDefinitions | public boolean supportsSchemasInIndexDefinitions()(Code) | | QED supports using schema names in index definition statements.
true |
supportsSchemasInPrivilegeDefinitions | public boolean supportsSchemasInPrivilegeDefinitions()(Code) | | QED doesn't support privilege definitions.
false |
supportsSchemasInProcedureCalls | public boolean supportsSchemasInProcedureCalls()(Code) | | QED doesn't support stored procedures
false |
supportsSchemasInTableDefinitions | public boolean supportsSchemasInTableDefinitions()(Code) | | QED supports using schema names in table definition statements.
true |
supportsSelectForUpdate | public boolean supportsSelectForUpdate()(Code) | | QED supports the SELECT ... FOR UPDATE statement.
true |
supportsStatementPooling | public boolean supportsStatementPooling() throws SQLException(Code) | | Retrieves weather this database supports statement pooling.
true is so;false otherwise throws: SQLExcpetion - if a database access error occurs since: 1.4 |
supportsStoredProcedures | public boolean supportsStoredProcedures()(Code) | | QED doesn't support stored procedures
false |
supportsSubqueriesInComparisons | public boolean supportsSubqueriesInComparisons()(Code) | | QED supports sub-queries in comparisons
true |
supportsSubqueriesInExists | public boolean supportsSubqueriesInExists()(Code) | | QED supports sub-queries in EXISTS expressions
true |
supportsSubqueriesInIns | public boolean supportsSubqueriesInIns()(Code) | | QED supports sub-queries in IN expressions
true |
supportsSubqueriesInQuantifieds | public boolean supportsSubqueriesInQuantifieds()(Code) | | QED supports sub-queries in quantified expressions
true |
supportsTableCorrelationNames | public boolean supportsTableCorrelationNames()(Code) | | QED supports table correlation names
true |
supportsTransactionIsolationLevel | public boolean supportsTransactionIsolationLevel(int level)(Code) | | This release of QED only supports the transaction level
Connection.TRANSACTION_SERIALIZABLE
true iflevel == Connection.TRANSACTION_SERIALIZABLE |
supportsTransactions | public boolean supportsTransactions()(Code) | | QED supports transactions
true |
supportsUnion | public boolean supportsUnion()(Code) | | QED supports UNION
true |
supportsUnionAll | public boolean supportsUnionAll()(Code) | | QED supports UNION ALL
true |
updatesAreDetected | public boolean updatesAreDetected(int type)(Code) | | This release of QED doesn't fully support detection of updates
Parameters: type - the ResultSet type false |
usesLocalFilePerTable | public boolean usesLocalFilePerTable()(Code) | | QED doesn't use a separate file per table
false |
usesLocalFiles | public boolean usesLocalFiles()(Code) | | QED uses local files to store the database, the lock file,
and the transaction logs.
true |
|
|