|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.idms.io.TraceObject ca.idms.jdbc.IdmsJdbcObject ca.idms.jdbc.IdmsDatabaseMetaData
public class IdmsDatabaseMetaData
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 SQLException.
Some of these methods take arguments that are String patterns. These arguments all have names such as fooPattern. Within a pattern String, "%" means match any substring of 0 or more characters, and "_" means match any one character. Only metadata entries matching the search pattern are returned. If a search pattern argument is set to a null ref, it means that argument's criteria should be dropped from the search.
A SQLException will be thrown if a driver does not support a meta data method. In the case of methods that return a ResultSet, either a ResultSet (which may be empty) is returned or a SQLException is thrown.
Field Summary | |
---|---|
static int |
ATTRIBUTES
|
static int |
BEST_ROWID
|
static int |
CATALOGS
|
static int |
CLIENT_INFO
|
static int |
COLUMN_PRIVILEGES
|
static int |
COLUMNS
|
static int |
CROSS_REFERENCE
|
static int |
EMPTY
|
static int |
EXPORTED_KEYS
|
static int |
FUNCTION_COLUMNS
|
static int |
FUNCTIONS
|
static int |
IMPORTED_KEYS
|
static int |
INDEX_INFO
|
static int |
MAX_QUERY
|
static int |
PRIMARY_KEYS
|
static int |
PROCEDURE_COLUMNS
|
static int |
PROCEDURES
|
static int |
SCHEMAS
|
static int |
SUPER_TABLES
|
static int |
SUPER_TYPES
|
static int |
TABLE
|
static int |
TABLE_COLUMNS
|
static int |
TABLE_PRIVILEGES
|
static int |
TABLE_TYPES
|
static int |
TABLES
|
static int |
TYPE_INFO
|
static int |
UDT
|
static int |
VERSION_COLUMNS
|
Fields inherited from class ca.idms.jdbc.IdmsJdbcObject |
---|
FAKE_METHODS, FAKE_SUPPORT, fakeSupport, MESSAGES |
Fields inherited from class ca.idms.io.TraceObject |
---|
exclude, EXCLUDE, FALSE, include, INCLUDE, logWriter, PREFIX, PROPERTIES_FILE, PROPERTIES_KEY, snap, SNAP, SNAP_BYTES, SNAP_NATIVE, SNAP_OBJECT, SNAP_SQL, snapBytes, snapNative, snapObject, snapSql, stub, trace, TRACE, TRACE_FILE, TRACE_LIFE, TRACE_NATIVE, TRACE_PRODUCT, traceLife, traceNative, traceStream, TRUE |
Fields inherited from interface java.sql.DatabaseMetaData |
---|
attributeNoNulls, attributeNullable, attributeNullableUnknown, bestRowNotPseudo, bestRowPseudo, bestRowSession, bestRowTemporary, bestRowTransaction, bestRowUnknown, columnNoNulls, columnNullable, columnNullableUnknown, functionColumnIn, functionColumnInOut, functionColumnOut, functionColumnResult, functionColumnUnknown, functionNoNulls, functionNoTable, functionNullable, functionNullableUnknown, functionResultUnknown, functionReturn, functionReturnsTable, importedKeyCascade, importedKeyInitiallyDeferred, importedKeyInitiallyImmediate, importedKeyNoAction, importedKeyNotDeferrable, importedKeyRestrict, importedKeySetDefault, importedKeySetNull, procedureColumnIn, procedureColumnInOut, procedureColumnOut, procedureColumnResult, procedureColumnReturn, procedureColumnUnknown, procedureNoNulls, procedureNoResult, procedureNullable, procedureNullableUnknown, procedureResultUnknown, procedureReturnsResult, sqlStateSQL, sqlStateSQL99, sqlStateXOpen, tableIndexClustered, tableIndexHashed, tableIndexOther, tableIndexStatistic, typeNoNulls, typeNullable, typeNullableUnknown, typePredBasic, typePredChar, typePredNone, typeSearchable, versionColumnNotPseudo, versionColumnPseudo, versionColumnUnknown |
Fields inherited from interface ca.idms.qcli.SQLState |
---|
SQL_00000, SQL_01000, SQL_01004, SQL_07001, SQL_07009, SQL_08001, SQL_08002, SQL_08003, SQL_08004, SQL_08006, SQL_08007, SQL_0A000, SQL_21000, SQL_22000, SQL_22001, SQL_22003, SQL_22005, SQL_22007, SQL_24000, SQL_25000, SQL_3C000, SQL_40000, SQL_42000, SQL_HY000, SQL_HY004, SQL_HY009, SQL_HY010, SQL_HY024, SQL_HY106, SQL_HYC00 |
Method Summary | |
---|---|
boolean |
allProceduresAreCallable()
IDMS supports CALL |
boolean |
allTablesAreSelectable()
The current user has SELECT access when the standard the ACCESSIBLE_TABLES is used for getTables(java.lang.String, java.lang.String, java.lang.String, java.lang.String[]) . |
boolean |
autoCommitFailureClosesAllResultSets()
CA IDMS closes all result sets if a commit failure occurs. |
boolean |
dataDefinitionCausesTransactionCommit()
DDL does not force the transaction to commit. |
boolean |
dataDefinitionIgnoredInTransactions()
Indicates that DDL is not ignored within a transaction. |
boolean |
deletesAreDetected(int param)
Not currently supported. |
boolean |
doesMaxRowSizeIncludeBlobs()
IDMS does not support BLOBs. |
protected void |
finalize()
Cleans up when the IDMS JDBC driver object goes away. |
protected java.lang.Object |
get(java.lang.reflect.Field f)
Allows the default snap method access to non-public variables. |
java.sql.ResultSet |
getAttributes(java.lang.String str,
java.lang.String str1,
java.lang.String str2,
java.lang.String str3)
IDMS does not support user defined types. |
java.sql.ResultSet |
getBestRowIdentifier(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
int scope,
boolean nullable)
Get a description of a table's optimal set of columns that uniquely identifies a row. |
java.sql.ResultSet |
getCatalogs()
The "CATALOG" name is the CURRENT DATABASE name. |
java.lang.String |
getCatalogSeparator()
IDMS does not support catalogs in identifiers. |
java.lang.String |
getCatalogTerm()
IDMS does not support catalogs in identifiers. |
java.sql.ResultSet |
getClientInfoProperties()
Retrieves a list of supported ClientInfo properties |
java.sql.ResultSet |
getColumnPrivileges(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
java.lang.String columnNamePattern)
IDMS does not currently support column privileges. |
java.sql.ResultSet |
getColumns(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
java.lang.String column)
Get a description of table columns available in a catalog. |
java.sql.Connection |
getConnection()
Gets the Connection that owns this object. |
java.sql.ResultSet |
getCrossReference(java.lang.String primaryCatalog,
java.lang.String primarySchema,
java.lang.String primaryTable,
java.lang.String foreignCatalog,
java.lang.String foreignSchema,
java.lang.String foreignTable)
Returns a description of the foreign key columns in the given foreign key table that reference the primary key columns of the given primary key table. |
int |
getDatabaseMajorVersion()
Gets the IDMS major release. |
int |
getDatabaseMinorVersion()
Gets the IDMS minor release. |
java.lang.String |
getDatabaseProductName()
Gets the database product name. |
java.lang.String |
getDatabaseProductVersion()
Gets the database product version. |
int |
getDefaultTransactionIsolation()
Gets the database's default transaction isolation level. |
int |
getDriverMajorVersion()
Gets the JDBC driver product major version number. |
int |
getDriverMinorVersion()
Gets the JDBC driver product minor version number. |
java.lang.String |
getDriverName()
Gets the JDBC driver product name. |
java.lang.String |
getDriverVersion()
Gets the JDBC driver product version. |
java.sql.ResultSet |
getExportedKeys(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
Returns a description of the foreign key columns that reference the given table's primary key columns. |
java.lang.String |
getExtraNameCharacters()
Get all the "extra" characters that can be used in unquoted identifier names (those beyond a-z, A-Z, 0-9 and _). |
java.sql.ResultSet |
getFunctionColumns(java.lang.String catalog,
java.lang.String schema,
java.lang.String function,
java.lang.String column)
Gets a description of user or system function parameters available in a catalog. |
java.sql.ResultSet |
getFunctions(java.lang.String c,
java.lang.String s,
java.lang.String f)
Returns a ResultSet which represents system or user functions defined in the IDMS system. |
java.lang.String |
getIdentifierQuoteString()
IDMS uses a double quote character. |
java.sql.ResultSet |
getImportedKeys(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
Returns a description of the primary key columns referenced by the given table's foreign keys. |
java.sql.ResultSet |
getIndexInfo(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
boolean unique,
boolean approximate)
Get a description of a table's indices and statistics. |
int |
getJDBCMajorVersion()
Gets the major version of JDBC that IDMS supports. |
int |
getJDBCMinorVersion()
Gets the minor version of JDBC that IDMS supports. |
int |
getMaxBinaryLiteralLength()
IDMS has no number of hex characters allowed in an inline binary literal. |
int |
getMaxCatalogNameLength()
IDMS does not currently support catalogs in identifiers. |
int |
getMaxCharLiteralLength()
IDMS has no specific max length for a character literal. |
int |
getMaxColumnNameLength()
Gets the limit on column name length. |
int |
getMaxColumnsInGroupBy()
Gets the maximum number of columns in a GROUP BY clause. |
int |
getMaxColumnsInIndex()
Gets the maximum number of columns allowed in an index. |
int |
getMaxColumnsInOrderBy()
Gets the maximum number of columns in an ORDER BY clause. |
int |
getMaxColumnsInSelect()
Gets the maximum number of columns in a SELECT list. |
int |
getMaxColumnsInTable()
Gets the maximum number of columns in a table. |
int |
getMaxConnections()
IDMS has no specific limit for connnections. |
int |
getMaxCursorNameLength()
Gets the maximum cursor name length. |
int |
getMaxIndexLength()
Gets the maximum length of an index (in bytes). |
int |
getMaxProcedureNameLength()
Gets the maximum procedure name length. |
int |
getMaxRowSize()
Gets the maximum length of a single row. |
int |
getMaxSchemaNameLength()
Gets the maximum schema name length. |
int |
getMaxStatementLength()
Gets the maximum length of a SQL statement. |
int |
getMaxStatements()
Gets the maximum number of Statements that can be open to CA IDMS at one time. |
int |
getMaxTableNameLength()
Gets the maximum length of a table name. |
int |
getMaxTablesInSelect()
Gets the maximum number of tables in a SELECT. |
int |
getMaxUserNameLength()
Gets the maximum length of a user name. |
java.lang.String |
getNumericFunctions()
Gets a comma separated list of math functions. |
java.sql.ResultSet |
getPrimaryKeys(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
Returns a description of the given table's primary key columns. |
java.sql.ResultSet |
getProcedureColumns(java.lang.String catalog,
java.lang.String schema,
java.lang.String procedure,
java.lang.String column)
Gets a description of procedures available in a catalog. |
java.sql.ResultSet |
getProcedures(java.lang.String catalog,
java.lang.String schema,
java.lang.String procedure)
Gets a description of procedures available in a catalog. |
java.lang.String |
getProcedureTerm()
Gets the IDMS term for PROCEDURE. |
int |
getResultSetHoldability()
Gets the default holdability for this database. |
java.sql.RowIdLifetime |
getRowIdLifetime()
Returns the expected lifetime of a RowId value. |
java.sql.ResultSet |
getSchemas()
Gets the schema names available in this database. |
java.sql.ResultSet |
getSchemas(java.lang.String cat,
java.lang.String schema)
Retrieves the schema names available in this database. |
java.lang.String |
getSchemaTerm()
Gets the IDMS term for SCHEMA. |
java.lang.String |
getSearchStringEscape()
This is the string that can be used to escape '_' or '%' in the string pattern style catalog search parameters. |
java.lang.String |
getSQLKeywords()
Gets a comma separated list of all a database's SQL keywords that are NOT also SQL92 keywords. |
int |
getSQLStateType()
The SQLSTATEs that IDMS supports. |
java.lang.String |
getStringFunctions()
Gets a comma separated list of string functions. |
java.sql.ResultSet |
getSuperTables(java.lang.String str,
java.lang.String str1,
java.lang.String str2)
IDMS does not support user defined types. |
java.sql.ResultSet |
getSuperTypes(java.lang.String str,
java.lang.String str1,
java.lang.String str2)
IDMS does not support user defined types. |
java.lang.String |
getSystemFunctions()
Gets a comma separated list of system functions. |
java.sql.ResultSet |
getTablePrivileges(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern)
Table privileges are not currently available from the IDMS catalog. |
java.sql.ResultSet |
getTables(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
java.lang.String[] types)
Get a description of tables available in a catalog. |
java.sql.ResultSet |
getTableTypes()
Gets the table types available in this database. |
java.lang.String |
getTimeDateFunctions()
Gets a comma separated list of time and date functions. |
java.sql.ResultSet |
getTypeInfo()
Gets a description of all the standard SQL types supported by this database. |
java.sql.ResultSet |
getUDTs(java.lang.String str,
java.lang.String str1,
java.lang.String str2,
int[] values)
IDMS does not support user defined types. |
java.lang.String |
getURL()
Gets the url for this database. |
java.lang.String |
getUserName()
Gets the user id used to sign on. |
java.sql.ResultSet |
getVersionColumns(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
IDMS does not support "version" columns. |
boolean |
insertsAreDetected(int param)
Not currently supported. |
boolean |
isCatalogAtStart()
IDMS does not support catalogs in identifiers. |
boolean |
isReadOnly()
Checks the read only option. |
boolean |
locatorsUpdateCopy()
IDMS does not support locators. |
boolean |
nullPlusNonNullIsNull()
For IDMS concatenations between NULL and non-NULL values are NULL. |
boolean |
nullsAreSortedAtEnd()
NULL values are not sorted at the end regardless of sort order. |
boolean |
nullsAreSortedAtStart()
NULL values not sorted at the start regardless of sort order. |
boolean |
nullsAreSortedHigh()
NULL values are sorted high. |
boolean |
nullsAreSortedLow()
NULL values are not sorted low. |
boolean |
othersDeletesAreVisible(int param)
Not currently supported. |
boolean |
othersInsertsAreVisible(int param)
Not implemented yet... |
boolean |
othersUpdatesAreVisible(int param)
Not currently supported. |
boolean |
ownDeletesAreVisible(int param)
Not currently supported. |
boolean |
ownInsertsAreVisible(int param)
Not currently supported. |
boolean |
ownUpdatesAreVisible(int param)
Not currently supported. |
boolean |
storesLowerCaseIdentifiers()
Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in lower case? |
boolean |
storesLowerCaseQuotedIdentifiers()
Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in lower case? |
boolean |
storesMixedCaseIdentifiers()
Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in mixed case? |
boolean |
storesMixedCaseQuotedIdentifiers()
Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in mixed case? |
boolean |
storesUpperCaseIdentifiers()
Does the database treat mixed case unquoted SQL identifiers as case insensitive and store them in upper case? |
boolean |
storesUpperCaseQuotedIdentifiers()
Does the database treat mixed case quoted SQL identifiers as case insensitive and store them in upper case? |
boolean |
supportsAlterTableWithAddColumn()
IDMS supports "ALTER TABLE" with add column. |
boolean |
supportsAlterTableWithDropColumn()
IDMS does not support "ALTER TABLE" with drop column. |
boolean |
supportsANSI92EntryLevelSQL()
IDMS supports the ANSI92 entry level SQL grammar. |
boolean |
supportsANSI92FullSQL()
IDMS does not support the ANSI92 full SQL grammar. |
boolean |
supportsANSI92IntermediateSQL()
IDMS does not fullty support the ANSI92 intermediate SQL grammar. |
boolean |
supportsBatchUpdates()
The IDMS JDBC driver supports batch updates. |
boolean |
supportsCatalogsInDataManipulation()
IDMS does not support catalogs in identifiers. |
boolean |
supportsCatalogsInIndexDefinitions()
IDMS does not support catalogs in identifiers. |
boolean |
supportsCatalogsInPrivilegeDefinitions()
IDMS does not support catalogs in identifiers. |
boolean |
supportsCatalogsInProcedureCalls()
IDMS does not support catalogs in identifiers. |
boolean |
supportsCatalogsInTableDefinitions()
IDMS does not support catalogs in identifiers. |
boolean |
supportsColumnAliasing()
IDMS supports column alias names. |
boolean |
supportsConvert()
IDMS does not support the CONVERT function. |
boolean |
supportsConvert(int fromType,
int toType)
IDMS does not support the CONVERT function. |
boolean |
supportsCoreSQLGrammar()
IDMS supports the the ODBC Core SQL grammar. |
boolean |
supportsCorrelatedSubqueries()
IDMS supports correlated subqueries. |
boolean |
supportsDataDefinitionAndDataManipulationTransactions()
IDMS supports both DDL and DML within a transaction. |
boolean |
supportsDataManipulationTransactionsOnly()
IDMS supports DML within a transaciton.. |
boolean |
supportsDifferentTableCorrelationNames()
IDMS does not require correlation names to be different from the table names. |
boolean |
supportsExpressionsInOrderBy()
IDMS does not supprt expressions in "ORDER BY" lists. |
boolean |
supportsExtendedSQLGrammar()
IDMS does not fully support the ODBC Extended SQL grammar. |
boolean |
supportsFullOuterJoins()
IDMS supports full outer joins only in r17 and later. |
boolean |
supportsGetGeneratedKeys()
IDMS does not support generated keys. |
boolean |
supportsGroupBy()
IDMS supports "GROUP BY". |
boolean |
supportsGroupByBeyondSelect()
IDMS does not require "GROUP BY" to use columns in the SELECT. |
boolean |
supportsGroupByUnrelated()
IDMS does not require "GROUP BY" to use columns in the SELECT. |
boolean |
supportsIntegrityEnhancementFacility()
IDMS supports referential integrity with minor variations in the ANSI syntax. |
boolean |
supportsLikeEscapeClause()
IDMS supports an escape character in LIKE clauses. |
boolean |
supportsLimitedOuterJoins()
IDMS supports outer joins with non standard syntax. |
boolean |
supportsMinimumSQLGrammar()
IDMS supports the ODBC Minimum SQL grammar. |
boolean |
supportsMixedCaseIdentifiers()
Does the database treat mixed case unquoted SQL identifiers as case sensitive and as a result store them in mixed case? |
boolean |
supportsMixedCaseQuotedIdentifiers()
Does the database treat mixed case quoted SQL identifiers as case sensitive and as a result store them in mixed case? |
boolean |
supportsMultipleOpenResults()
Starting with r17 CA IDMS supports multiple open ResultSets. |
boolean |
supportsMultipleResultSets()
Starting with r17 CA IDMS supports multiple ResultSets. |
boolean |
supportsMultipleTransactions()
IDMS supports multiple transactions open at once (on different connections). |
boolean |
supportsNamedParameters()
IDMS supports named parameters as defined by JDBC, except when the SQL syntax string specifies IDMS proprietary keyword parameters. |
boolean |
supportsNonNullableColumns()
IDMS allows columns to be defined as NOT NULL. |
boolean |
supportsOpenCursorsAcrossCommit()
IDMS can optionally keep cursors open across commits. |
boolean |
supportsOpenCursorsAcrossRollback()
IDMS closes all open cursors on rollback. |
boolean |
supportsOpenStatementsAcrossCommit()
IDMS keeps statements open across commits. |
boolean |
supportsOpenStatementsAcrossRollback()
IDMS keeps statements open across rollbacks. |
boolean |
supportsOrderByUnrelated()
IDMS does not require "ORDER BY" to use columns in the SELECT. |
boolean |
supportsOuterJoins()
IDMS supports a form of outer join. |
boolean |
supportsPositionedDelete()
IDMS supports dynamic positioned DELETE starting with release 14.0. |
boolean |
supportsPositionedUpdate()
IDMS supports dynamic positioned UPDATE starting with release 14.0. |
boolean |
supportsResultSetConcurrency(int param,
int param1)
Not currently supported. |
boolean |
supportsResultSetHoldability(int param)
Reports support for holdability. |
boolean |
supportsResultSetType(int param)
Not currently supported. |
boolean |
supportsSavepoints()
IDMS does not support Savepoints. |
boolean |
supportsSchemasInDataManipulation()
IDMS allows a schema name in in a data manipulation statement. |
boolean |
supportsSchemasInIndexDefinitions()
IDMS allows schema names in an index definition statement. |
boolean |
supportsSchemasInPrivilegeDefinitions()
IDMS allows schema names in a privilege definition statement. |
boolean |
supportsSchemasInProcedureCalls()
IDMS supports procedures starting with release 15.0. |
boolean |
supportsSchemasInTableDefinitions()
IDMS allows schema names in a table definition statement. |
boolean |
supportsSelectForUpdate()
IDMS supports dynamic SELECT FOR UPDATE starting with release 14.0. |
boolean |
supportsStatementPooling()
IDMS Server supports JDBC statement pooling, although starting with release 16.0 IDMS itself supports a global statement cache, which provides most of the performance benefits generally associated with statement pooling in JDBC. |
boolean |
supportsStoredFunctionsUsingCallSyntax()
A function in IDMS can only be invoked within value expressions and cannot be the object of a Call command. |
boolean |
supportsStoredProcedures()
IDMS supports CALL |
boolean |
supportsSubqueriesInComparisons()
IDMS supports subqueries in comparison expressions. |
boolean |
supportsSubqueriesInExists()
IDMS supports subqueries in EXISTS expressions. |
boolean |
supportsSubqueriesInIns()
IDMS supports subqueries in IN statements. |
boolean |
supportsSubqueriesInQuantifieds()
IDMS supports subqueries in quantified expressions. |
boolean |
supportsTableCorrelationNames()
IDMS supports table correlation names. |
boolean |
supportsTransactionIsolationLevel(int level)
Indicates that IDMS supports the given transaction isolation level. |
boolean |
supportsTransactions()
IDMS supports transactions. |
boolean |
supportsUnion()
IDMS supports UNION. |
boolean |
supportsUnionAll()
IDMS supports SQL UNION ALL. |
boolean |
updatesAreDetected(int param)
Not currently supported. |
boolean |
usesLocalFilePerTable()
IDMS does not use a file for any table. |
boolean |
usesLocalFiles()
IDMS does not store tables in a local file. |
Methods inherited from class ca.idms.jdbc.IdmsJdbcObject |
---|
clearWarnings, getWarnings, hasCursor, hasUpdate, isStarted, isSuspended, isWrapperFor, notifyStatementError, unwrap |
Methods inherited from class ca.idms.io.TraceObject |
---|
getBoolean, getClasses, getInteger, getProperty, listProperties, message, parseList, print, print, print, println, println, snap, snap, snap, snap, snap, snap, snap, toHex, toHex, toHex, toHex, toHex, toString, trace, trace, trace, trace, trace, trace, traceEntry, unloadProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.sql.Wrapper |
---|
isWrapperFor, unwrap |
Field Detail |
---|
public static final int EMPTY
public static final int CATALOGS
public static final int SCHEMAS
public static final int PROCEDURES
public static final int PROCEDURE_COLUMNS
public static final int TABLES
public static final int TABLE
public static final int TABLE_TYPES
public static final int TABLE_PRIVILEGES
public static final int COLUMNS
public static final int TYPE_INFO
public static final int COLUMN_PRIVILEGES
public static final int BEST_ROWID
public static final int INDEX_INFO
public static final int VERSION_COLUMNS
public static final int PRIMARY_KEYS
public static final int IMPORTED_KEYS
public static final int EXPORTED_KEYS
public static final int CROSS_REFERENCE
public static final int ATTRIBUTES
public static final int SUPER_TABLES
public static final int SUPER_TYPES
public static final int UDT
public static final int CLIENT_INFO
public static final int FUNCTIONS
public static final int FUNCTION_COLUMNS
public static final int TABLE_COLUMNS
public static final int MAX_QUERY
Method Detail |
---|
protected void finalize() throws java.lang.Throwable
finalize
in class TraceObject
java.lang.Throwable
- unlikelyprotected java.lang.Object get(java.lang.reflect.Field f) throws java.lang.IllegalAccessException
get
in class IdmsJdbcObject
f
- a Field returned by Class.getDeclaredFields
java.lang.IllegalAccessException
- should not happenTraceObject.snap
,
TraceObject.snap()
public boolean allProceduresAreCallable() throws java.sql.SQLException
allProceduresAreCallable
in interface java.sql.DatabaseMetaData
supportsStoredProcedures()
java.sql.SQLException
- not really.public boolean allTablesAreSelectable() throws java.sql.SQLException
getTables(java.lang.String, java.lang.String, java.lang.String, java.lang.String[])
.
allTablesAreSelectable
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getURL() throws java.sql.SQLException
getURL
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getUserName() throws java.sql.SQLException
getUserName
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean isReadOnly() throws java.sql.SQLException
isReadOnly
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.IdmsConnectOptions.READ_ONLY
public boolean nullsAreSortedHigh() throws java.sql.SQLException
nullsAreSortedHigh
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean nullsAreSortedLow() throws java.sql.SQLException
nullsAreSortedLow
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean nullsAreSortedAtStart() throws java.sql.SQLException
nullsAreSortedAtStart
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean nullsAreSortedAtEnd() throws java.sql.SQLException
nullsAreSortedAtEnd
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getDatabaseProductName() throws java.sql.SQLException
getDatabaseProductName
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getDatabaseProductVersion() throws java.sql.SQLException
getDatabaseProductVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getDriverName() throws java.sql.SQLException
getDriverName
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getDriverVersion() throws java.sql.SQLException
getDriverVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getDriverMajorVersion()
getDriverMajorVersion
in interface java.sql.DatabaseMetaData
public int getDriverMinorVersion()
getDriverMinorVersion
in interface java.sql.DatabaseMetaData
public boolean usesLocalFiles() throws java.sql.SQLException
usesLocalFiles
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean usesLocalFilePerTable() throws java.sql.SQLException
usesLocalFilePerTable
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsMixedCaseIdentifiers() throws java.sql.SQLException
A JDBC-Compliant driver will always return false.
supportsMixedCaseIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean storesUpperCaseIdentifiers() throws java.sql.SQLException
storesUpperCaseIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean storesLowerCaseIdentifiers() throws java.sql.SQLException
storesLowerCaseIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean storesMixedCaseIdentifiers() throws java.sql.SQLException
storesMixedCaseIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsMixedCaseQuotedIdentifiers() throws java.sql.SQLException
A JDBC-Compliant driver will always return true.
supportsMixedCaseQuotedIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean storesUpperCaseQuotedIdentifiers() throws java.sql.SQLException
storesUpperCaseQuotedIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean storesLowerCaseQuotedIdentifiers() throws java.sql.SQLException
storesLowerCaseQuotedIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean storesMixedCaseQuotedIdentifiers() throws java.sql.SQLException
storesMixedCaseQuotedIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getIdentifierQuoteString() throws java.sql.SQLException
getIdentifierQuoteString
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getSQLKeywords() throws java.sql.SQLException
getSQLKeywords
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getNumericFunctions() throws java.sql.SQLException
getNumericFunctions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getStringFunctions() throws java.sql.SQLException
getStringFunctions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getSystemFunctions() throws java.sql.SQLException
getSystemFunctions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getTimeDateFunctions() throws java.sql.SQLException
getTimeDateFunctions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getSearchStringEscape() throws java.sql.SQLException
The '_' character represents any single character.
The '%' character represents any sequence of zero or more characters.
getSearchStringEscape
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getExtraNameCharacters() throws java.sql.SQLException
getExtraNameCharacters
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsAlterTableWithAddColumn() throws java.sql.SQLException
supportsAlterTableWithAddColumn
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsAlterTableWithDropColumn() throws java.sql.SQLException
supportsAlterTableWithDropColumn
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsColumnAliasing() throws java.sql.SQLException
supportsColumnAliasing
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean nullPlusNonNullIsNull() throws java.sql.SQLException
nullPlusNonNullIsNull
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsConvert() throws java.sql.SQLException
supportsConvert
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsConvert(int fromType, int toType) throws java.sql.SQLException
supportsConvert
in interface java.sql.DatabaseMetaData
fromType
- the type to convert fromtoType
- the type to convert to
java.sql.SQLException
- not really.supportsConvert()
public boolean supportsTableCorrelationNames() throws java.sql.SQLException
supportsTableCorrelationNames
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsDifferentTableCorrelationNames() throws java.sql.SQLException
supportsDifferentTableCorrelationNames
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsExpressionsInOrderBy() throws java.sql.SQLException
supportsExpressionsInOrderBy
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsOrderByUnrelated() throws java.sql.SQLException
supportsOrderByUnrelated
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsGroupBy() throws java.sql.SQLException
supportsGroupBy
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsGroupByUnrelated() throws java.sql.SQLException
supportsGroupByUnrelated
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsGroupByBeyondSelect() throws java.sql.SQLException
supportsGroupByBeyondSelect
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsLikeEscapeClause() throws java.sql.SQLException
supportsLikeEscapeClause
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsMultipleResultSets() throws java.sql.SQLException
supportsMultipleResultSets
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsMultipleTransactions() throws java.sql.SQLException
supportsMultipleTransactions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsNonNullableColumns() throws java.sql.SQLException
supportsNonNullableColumns
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsMinimumSQLGrammar() throws java.sql.SQLException
supportsMinimumSQLGrammar
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsCoreSQLGrammar() throws java.sql.SQLException
supportsCoreSQLGrammar
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsExtendedSQLGrammar() throws java.sql.SQLException
supportsExtendedSQLGrammar
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsANSI92EntryLevelSQL() throws java.sql.SQLException
supportsANSI92EntryLevelSQL
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsANSI92IntermediateSQL() throws java.sql.SQLException
supportsANSI92IntermediateSQL
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsANSI92FullSQL() throws java.sql.SQLException
supportsANSI92FullSQL
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsIntegrityEnhancementFacility() throws java.sql.SQLException
supportsIntegrityEnhancementFacility
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsOuterJoins() throws java.sql.SQLException
supportsOuterJoins
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsFullOuterJoins() throws java.sql.SQLException
supportsFullOuterJoins
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsLimitedOuterJoins() throws java.sql.SQLException
supportsLimitedOuterJoins
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getSchemaTerm() throws java.sql.SQLException
getSchemaTerm
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getProcedureTerm() throws java.sql.SQLException
getProcedureTerm
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getCatalogTerm() throws java.sql.SQLException
getCatalogTerm
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean isCatalogAtStart() throws java.sql.SQLException
isCatalogAtStart
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.lang.String getCatalogSeparator() throws java.sql.SQLException
getCatalogSeparator
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsSchemasInDataManipulation() throws java.sql.SQLException
supportsSchemasInDataManipulation
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsSchemasInProcedureCalls() throws java.sql.SQLException
supportsSchemasInProcedureCalls
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsSchemasInTableDefinitions() throws java.sql.SQLException
supportsSchemasInTableDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsSchemasInIndexDefinitions() throws java.sql.SQLException
supportsSchemasInIndexDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsSchemasInPrivilegeDefinitions() throws java.sql.SQLException
supportsSchemasInPrivilegeDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsCatalogsInDataManipulation() throws java.sql.SQLException
supportsCatalogsInDataManipulation
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsCatalogsInProcedureCalls() throws java.sql.SQLException
supportsCatalogsInProcedureCalls
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsCatalogsInTableDefinitions() throws java.sql.SQLException
supportsCatalogsInTableDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsCatalogsInIndexDefinitions() throws java.sql.SQLException
supportsCatalogsInIndexDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsCatalogsInPrivilegeDefinitions() throws java.sql.SQLException
supportsCatalogsInPrivilegeDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsPositionedDelete() throws java.sql.SQLException
supportsPositionedDelete
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsPositionedUpdate() throws java.sql.SQLException
supportsPositionedUpdate
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsSelectForUpdate() throws java.sql.SQLException
supportsSelectForUpdate
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsStoredProcedures() throws java.sql.SQLException
supportsStoredProcedures
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsSubqueriesInComparisons() throws java.sql.SQLException
supportsSubqueriesInComparisons
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsSubqueriesInExists() throws java.sql.SQLException
supportsSubqueriesInExists
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsSubqueriesInIns() throws java.sql.SQLException
supportsSubqueriesInIns
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsSubqueriesInQuantifieds() throws java.sql.SQLException
supportsSubqueriesInQuantifieds
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsCorrelatedSubqueries() throws java.sql.SQLException
supportsCorrelatedSubqueries
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsUnion() throws java.sql.SQLException
supportsUnion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsUnionAll() throws java.sql.SQLException
supportsUnionAll
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsOpenCursorsAcrossCommit() throws java.sql.SQLException
supportsOpenCursorsAcrossCommit
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.getResultSetHoldability()
public boolean supportsOpenCursorsAcrossRollback() throws java.sql.SQLException
supportsOpenCursorsAcrossRollback
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsOpenStatementsAcrossCommit() throws java.sql.SQLException
supportsOpenStatementsAcrossCommit
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.getResultSetHoldability()
public boolean supportsOpenStatementsAcrossRollback() throws java.sql.SQLException
supportsOpenStatementsAcrossRollback
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxBinaryLiteralLength() throws java.sql.SQLException
getMaxBinaryLiteralLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxCharLiteralLength() throws java.sql.SQLException
getMaxCharLiteralLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxColumnNameLength() throws java.sql.SQLException
getMaxColumnNameLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxColumnsInGroupBy() throws java.sql.SQLException
getMaxColumnsInGroupBy
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxColumnsInIndex() throws java.sql.SQLException
getMaxColumnsInIndex
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxColumnsInOrderBy() throws java.sql.SQLException
getMaxColumnsInOrderBy
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxColumnsInSelect() throws java.sql.SQLException
getMaxColumnsInSelect
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxColumnsInTable() throws java.sql.SQLException
getMaxColumnsInTable
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxConnections() throws java.sql.SQLException
getMaxConnections
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxCursorNameLength() throws java.sql.SQLException
getMaxCursorNameLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxIndexLength() throws java.sql.SQLException
getMaxIndexLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxSchemaNameLength() throws java.sql.SQLException
getMaxSchemaNameLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxProcedureNameLength() throws java.sql.SQLException
getMaxProcedureNameLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxCatalogNameLength() throws java.sql.SQLException
getMaxCatalogNameLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxRowSize() throws java.sql.SQLException
The maximum length a row in a compressed table is 32760, an uncompressed table is limited by the page size, which is never larger. The page siez information is not generally available to an SQL transaction.
getMaxRowSize
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean doesMaxRowSizeIncludeBlobs() throws java.sql.SQLException
doesMaxRowSizeIncludeBlobs
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxStatementLength() throws java.sql.SQLException
getMaxStatementLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxStatements() throws java.sql.SQLException
getMaxStatements
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxTableNameLength() throws java.sql.SQLException
getMaxTableNameLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxTablesInSelect() throws java.sql.SQLException
getMaxTablesInSelect
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getMaxUserNameLength() throws java.sql.SQLException
getMaxUserNameLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public int getDefaultTransactionIsolation() throws java.sql.SQLException
getDefaultTransactionIsolation
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsTransactions() throws java.sql.SQLException
supportsTransactions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsTransactionIsolationLevel(int level) throws java.sql.SQLException
supportsTransactionIsolationLevel
in interface java.sql.DatabaseMetaData
level
- the values are defined in java.sql.Connection
java.sql.SQLException
- not really.public boolean supportsDataDefinitionAndDataManipulationTransactions() throws java.sql.SQLException
supportsDataDefinitionAndDataManipulationTransactions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsDataManipulationTransactionsOnly() throws java.sql.SQLException
supportsDataManipulationTransactionsOnly
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean dataDefinitionCausesTransactionCommit() throws java.sql.SQLException
dataDefinitionCausesTransactionCommit
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean dataDefinitionIgnoredInTransactions() throws java.sql.SQLException
dataDefinitionIgnoredInTransactions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.sql.ResultSet getTableTypes() throws java.sql.SQLException
For IDMS the result set is:
getTableTypes
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.sql.ResultSet getTypeInfo() throws java.sql.SQLException
Each type description has the following columns:
getTypeInfo
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public java.sql.ResultSet getCatalogs() throws java.sql.SQLException
getCatalogs
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- in the unlikely event of an error.public java.sql.ResultSet getSchemas() throws java.sql.SQLException
The schema columns are:
getSchemas
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- if a database-access error occurs.public java.sql.ResultSet getProcedures(java.lang.String catalog, java.lang.String schema, java.lang.String procedure) throws java.sql.SQLException
Note that "table procedures", defined using the CREATE TABLE PROCEDURE
DDL statement are included in the ResultSet returned for getTables, and
are not returned by this method by default. This behavior can be changed
by replacing the WHERE TYPE = 'R'
predicate in the catalog
SYSCA.ACCESSIBLE_PROCS view with WHERE TYPE IN ('P', 'R')
.
ResultSet columns:
The NUM_INPUT_PARMS, NUM_OUTPUT_PARMS, and NUM_RESULT_SET columns are CA IDMS extensions that replace reserved columns defined in the JDBC specification, and are consistent with the columns defined for the result set returned for the equivalent ODBC SQLProcedures function.
getProcedures
in interface java.sql.DatabaseMetaData
catalog
- a catalog name ignoredschema
- a schema name pattern; "" uses the CURRENT SCHEMA, if any.procedure
- a procedure name pattern
java.sql.SQLException
- if an error occurspublic java.sql.ResultSet getProcedureColumns(java.lang.String catalog, java.lang.String schema, java.lang.String procedure, java.lang.String column) throws java.sql.SQLException
ResultSet columns:
getProcedureColumns
in interface java.sql.DatabaseMetaData
catalog
- a catalog name ignoredschema
- a schema name pattern; "" uses the CURRENT SCHEMA, if any.procedure
- a procedure name patterncolumn
- a column name pattern
java.sql.SQLException
- if an error occursgetProcedures(java.lang.String, java.lang.String, java.lang.String)
public java.sql.ResultSet getTables(java.lang.String catalog, java.lang.String schema, java.lang.String table, java.lang.String[] types) throws java.sql.SQLException
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.
getTables
in interface java.sql.DatabaseMetaData
catalog
- a catalog name ignoredschema
- a schema name pattern; "" uses the CURRENT SCHEMA, if any.table
- a table name patterntypes
- a list of table types to include; null returns all types
java.sql.SQLException
- if a database-access error occurs.public java.sql.ResultSet getColumns(java.lang.String catalog, java.lang.String schema, java.lang.String table, java.lang.String column) throws java.sql.SQLException
Since there is no reasonable way to get the column definitions of network records accessed via SQL, this method is actually implemented by preparing and describing a query on each table specified by the schema and table search patterns. When there are no wildcard characters only one table needs to be described, otherwise getTables is used to get the list of tables that match the selection criteria, and each is described in turn.
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:
getColumns
in interface java.sql.DatabaseMetaData
catalog
- a catalog name ignoredschema
- a schema name pattern; "" uses the CURRENT SCHEMA, if any.table
- a table name patterncolumn
- a column name pattern
java.sql.SQLException
- if a database-access error occurs.getTables(java.lang.String, java.lang.String, java.lang.String, java.lang.String[])
public java.sql.ResultSet getBestRowIdentifier(java.lang.String catalog, java.lang.String schema, java.lang.String table, int scope, boolean nullable) throws java.sql.SQLException
Each column description has the following columns:
getBestRowIdentifier
in interface java.sql.DatabaseMetaData
catalog
- ignoredschema
- a schema name pattern; null uses the CURRENT SCHEMA, if any.table
- a table namescope
- the scope of interest; use same values as SCOPEnullable
- include columns that are nullable?
java.sql.SQLException
- if a database-access error occurs.public java.sql.ResultSet getIndexInfo(java.lang.String catalog, java.lang.String schema, java.lang.String table, boolean unique, boolean approximate) throws java.sql.SQLException
Each index column description has the following columns:
getIndexInfo
in interface java.sql.DatabaseMetaData
catalog
- ignoredschema
- a schema name pattern; null uses the CURRENT SCHEMA, if any.table
- a table nameunique
- when true, return only indices for unique values;
when false, return indices regardless of whether unique or notapproximate
- ignored, UPDATE STATISTICES is generally too expensive,
if really required execute an UPDATE STATISTIC command
java.sql.SQLException
- if a database-access error occurs.public java.sql.ResultSet getTablePrivileges(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableNamePattern) throws java.sql.SQLException
getTablePrivileges
in interface java.sql.DatabaseMetaData
catalog
- ignored.schemaPattern
- ignored.tableNamePattern
- ignored.
java.sql.SQLException
- in the unlikely event of an error.public java.sql.ResultSet getColumnPrivileges(java.lang.String catalog, java.lang.String schema, java.lang.String table, java.lang.String columnNamePattern) throws java.sql.SQLException
getColumnPrivileges
in interface java.sql.DatabaseMetaData
catalog
- ignored.schema
- ignored.table
- ignored.columnNamePattern
- ignored.
java.sql.SQLException
- in the unlikely event of an error.public java.sql.ResultSet getVersionColumns(java.lang.String catalog, java.lang.String schema, java.lang.String table) throws java.sql.SQLException
getVersionColumns
in interface java.sql.DatabaseMetaData
catalog
- ignoredschema
- ignoredtable
- ignored
java.sql.SQLException
- in the unlikely event of an error.public java.sql.ResultSet getPrimaryKeys(java.lang.String catalog, java.lang.String schema, java.lang.String table) throws java.sql.SQLException
getPrimaryKeys
in interface java.sql.DatabaseMetaData
catalog
- ignoredschema
- a schema name; null uses the CURRENT SCHEMA, if any.table
- a table name
java.sql.SQLException
- if a database-access error occurs.public java.sql.ResultSet getImportedKeys(java.lang.String catalog, java.lang.String schema, java.lang.String table) throws java.sql.SQLException
getImportedKeys
in interface java.sql.DatabaseMetaData
catalog
- ignoredschema
- a schema name; null uses the CURRENT SCHEMA, if any.table
- a table name
java.sql.SQLException
- if a database-access error occurs.public java.sql.ResultSet getExportedKeys(java.lang.String catalog, java.lang.String schema, java.lang.String table) throws java.sql.SQLException
getExportedKeys
in interface java.sql.DatabaseMetaData
catalog
- ignoredschema
- a schema name; null uses the CURRENT SCHEMA, if any.table
- a table name
java.sql.SQLException
- if a database-access error occurs.public java.sql.ResultSet getCrossReference(java.lang.String primaryCatalog, java.lang.String primarySchema, java.lang.String primaryTable, java.lang.String foreignCatalog, java.lang.String foreignSchema, java.lang.String foreignTable) throws java.sql.SQLException
getCrossReference
in interface java.sql.DatabaseMetaData
primaryCatalog
- ignoredprimarySchema
- primary key table schema; null uses the CURRENT SCHEMA, if any.primaryTable
- primary key table nameforeignCatalog
- ignoredforeignSchema
- foreign key table schema; null uses the CURRENT SCHEMA, if any.foreignTable
- foreign key table name
java.sql.SQLException
- if a database-access error occurs.public boolean supportsBatchUpdates() throws java.sql.SQLException
supportsBatchUpdates
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- neverpublic boolean supportsResultSetType(int param) throws java.sql.SQLException
supportsResultSetType
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- neverpublic boolean supportsResultSetConcurrency(int param, int param1) throws java.sql.SQLException
supportsResultSetConcurrency
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- neverpublic boolean deletesAreDetected(int param) throws java.sql.SQLException
deletesAreDetected
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- neverpublic boolean insertsAreDetected(int param) throws java.sql.SQLException
insertsAreDetected
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- neverpublic boolean updatesAreDetected(int param) throws java.sql.SQLException
updatesAreDetected
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- neverpublic boolean ownDeletesAreVisible(int param) throws java.sql.SQLException
ownDeletesAreVisible
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- neverpublic boolean ownInsertsAreVisible(int param) throws java.sql.SQLException
ownInsertsAreVisible
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- neverpublic boolean ownUpdatesAreVisible(int param) throws java.sql.SQLException
ownUpdatesAreVisible
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- neverpublic boolean othersDeletesAreVisible(int param) throws java.sql.SQLException
othersDeletesAreVisible
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- neverpublic boolean othersInsertsAreVisible(int param) throws java.sql.SQLException
othersInsertsAreVisible
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Not!public boolean othersUpdatesAreVisible(int param) throws java.sql.SQLException
othersUpdatesAreVisible
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- neverpublic java.sql.Connection getConnection() throws java.sql.SQLException
getConnection
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- neverpublic java.sql.ResultSet getUDTs(java.lang.String str, java.lang.String str1, java.lang.String str2, int[] values) throws java.sql.SQLException
getUDTs
in interface java.sql.DatabaseMetaData
str
- ignoredstr1
- ignoredstr2
- ignoredvalues
- ignored
java.sql.SQLException
- in the unlikely event of an error.public boolean supportsGetGeneratedKeys() throws java.sql.SQLException
supportsGetGeneratedKeys
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Not!public boolean supportsMultipleOpenResults() throws java.sql.SQLException
supportsMultipleOpenResults
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really.public boolean supportsNamedParameters() throws java.sql.SQLException
supportsNamedParameters
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Not!public boolean supportsResultSetHoldability(int param) throws java.sql.SQLException
supportsResultSetHoldability
in interface java.sql.DatabaseMetaData
param
- ResultSet holdability option
java.sql.SQLException
- not reallygetResultSetHoldability()
public boolean supportsSavepoints() throws java.sql.SQLException
supportsSavepoints
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Not!public boolean supportsStatementPooling() throws java.sql.SQLException
supportsStatementPooling
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Not!public boolean locatorsUpdateCopy() throws java.sql.SQLException
locatorsUpdateCopy
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Not!public int getDatabaseMajorVersion() throws java.sql.SQLException
getDatabaseMajorVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Not!public int getDatabaseMinorVersion() throws java.sql.SQLException
getDatabaseMinorVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Not!public int getJDBCMajorVersion() throws java.sql.SQLException
getJDBCMajorVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Not!public int getJDBCMinorVersion() throws java.sql.SQLException
getJDBCMinorVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Not!public int getResultSetHoldability() throws java.sql.SQLException
CommitBehavior | Value | Holdability |
---|---|---|
DELETE | 0 | CLOSE_CURSORS_AT_COMMIT |
CLOSE | 1 | CLOSE_CURSORS_AT_COMMIT |
PRESERVE | 2 | HOLD_CURSORS_OVER_COMMIT |
getResultSetHoldability
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Not!IdmsConnectOptions.COMMIT_BEHAVIOR
public int getSQLStateType() throws java.sql.SQLException
getSQLStateType
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Not!public java.sql.ResultSet getAttributes(java.lang.String str, java.lang.String str1, java.lang.String str2, java.lang.String str3) throws java.sql.SQLException
getAttributes
in interface java.sql.DatabaseMetaData
str
- ignoredstr1
- ignoredstr2
- ignoredstr3
- ignored
java.sql.SQLException
- in the unlikely event of an error.public java.sql.ResultSet getSuperTables(java.lang.String str, java.lang.String str1, java.lang.String str2) throws java.sql.SQLException
getSuperTables
in interface java.sql.DatabaseMetaData
str
- ignoredstr1
- ignoredstr2
- ignored
java.sql.SQLException
- in the unlikely event of an error.public java.sql.ResultSet getSuperTypes(java.lang.String str, java.lang.String str1, java.lang.String str2) throws java.sql.SQLException
getSuperTypes
in interface java.sql.DatabaseMetaData
str
- ignoredstr1
- ignoredstr2
- ignored
java.sql.SQLException
- in the unlikely event of an error.public boolean autoCommitFailureClosesAllResultSets() throws java.sql.SQLException
autoCommitFailureClosesAllResultSets
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- - can't really happenpublic java.sql.ResultSet getClientInfoProperties() throws java.sql.SQLException
getClientInfoProperties
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- in the unlikely event of an error.public java.sql.ResultSet getFunctionColumns(java.lang.String catalog, java.lang.String schema, java.lang.String function, java.lang.String column) throws java.sql.SQLException
ResultSet columns:
getFunctionColumns
in interface java.sql.DatabaseMetaData
catalog
- a catalog name ignoredschema
- a schema name pattern; "" uses the CURRENT SCHEMA, if any.function
- a function name patterncolumn
- a column name pattern
java.sql.SQLException
- if an error occursgetFunctions(java.lang.String, java.lang.String, java.lang.String)
public java.sql.ResultSet getFunctions(java.lang.String c, java.lang.String s, java.lang.String f) throws java.sql.SQLException
getFunctions
in interface java.sql.DatabaseMetaData
c
- catalog - ignored; not supported by IDMSs
- schemaNamePatternf
- functionNamePattern
java.sql.SQLException
- in the unlikely event of an error.public java.sql.RowIdLifetime getRowIdLifetime() throws java.sql.SQLException
In IDMS, RowId equates to the DBKey of the underlying database record. It can never be null, and it cannot be updated or inserted.
getRowIdLifetime
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not reallypublic java.sql.ResultSet getSchemas(java.lang.String cat, java.lang.String schema) throws java.sql.SQLException
getSchemas
in interface java.sql.DatabaseMetaData
cat
- ignored; IDMS doesn't use catalogsschema
- pattern; this can be a string which includes '%' and
'_' characters, as noted in the CA IDMS SQL Reference. Also see the
JDBC DatabaseMetaData API documentation. If this parameter is null,
the effect is the same as though getSchemas()
has been
executed.
The schema columns are:
java.sql.SQLException
- in the unlikely event of an error.public boolean supportsStoredFunctionsUsingCallSyntax() throws java.sql.SQLException
supportsStoredFunctionsUsingCallSyntax
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- not really
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |