|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.teiid.jdbc.WrapperImpl
org.teiid.jdbc.DatabaseMetaDataImpl
public class DatabaseMetaDataImpl
Field Summary |
---|
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 |
Method Summary | |
---|---|
boolean |
allProceduresAreCallable()
Checks whether the current user has the required security rights to call all the procedures returned by the method getProcedures. |
boolean |
allTablesAreSelectable()
|
boolean |
autoCommitFailureClosesAllResultSets()
|
boolean |
dataDefinitionCausesTransactionCommit()
Checks whether a DDL statement within a transaction forces the transaction to commit. |
boolean |
dataDefinitionIgnoredInTransactions()
Checks whether a DDL statement within a transaction is ignored. |
boolean |
deletesAreDetected(int type)
Indicates whether or not a visible row delete can be detected by calling ResultSet.rowDeleted(). |
boolean |
doesMaxRowSizeIncludeBlobs()
Did getMaxRowSize() include LONGVARCHAR and LONGVARBINARY blobs? |
java.sql.ResultSet |
getAttributes(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String typeNamePattern,
java.lang.String attributeNamePattern)
|
java.sql.ResultSet |
getBestRowIdentifier(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
int scope,
boolean nullable)
Gets a description of a table's optimal set of columns that uniquely identifies a row. |
java.sql.ResultSet |
getCatalogs()
|
java.lang.String |
getCatalogSeparator()
Gets the String object used to separate a catalog name and a table name |
java.lang.String |
getCatalogTerm()
|
java.sql.ResultSet |
getClientInfoProperties()
|
java.sql.ResultSet |
getColumnPrivileges(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
java.lang.String columnName)
Gets a description of the access rights for a column of the given name. |
java.sql.ResultSet |
getColumns(java.lang.String catalog,
java.lang.String schema,
java.lang.String tableNamePattern,
java.lang.String columnNamePattern)
Get's the metadata information about the columns whose names match the given columnNamePattern. |
java.sql.Connection |
getConnection()
|
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)
Gets the description of the foreign key columns in the table foreignTable. |
int |
getDatabaseMajorVersion()
Retrieves the major version number of the underlying database. |
int |
getDatabaseMinorVersion()
Retrieves the minor version number of the underlying database. |
java.lang.String |
getDatabaseProductName()
Gets the product name for this database |
java.lang.String |
getDatabaseProductVersion()
|
int |
getDefaultTransactionIsolation()
|
int |
getDriverMajorVersion()
Gets this drivers major version number |
int |
getDriverMinorVersion()
Gets this drivers minor version number |
java.lang.String |
getDriverName()
Get the name of this JDBC driver |
java.lang.String |
getDriverVersion()
This method gets the version of this JDBC driver. |
java.sql.ResultSet |
getExportedKeys(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
This method gets a description of the forignkey columns that reference the primary key columns in the given table. |
java.lang.String |
getExtraNameCharacters()
Gets the extra characters that can be used in unquoted identifier names (those beyond a-z, 0-9, and _) |
java.sql.ResultSet |
getFunctionColumns(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String functionNamePattern,
java.lang.String columnNamePattern)
|
java.sql.ResultSet |
getFunctions(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String functionNamePattern)
|
java.lang.String |
getIdentifierQuoteString()
Get's the string used to quote SQL identifiers. |
java.sql.ResultSet |
getImportedKeys(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
Gets a description of the primary key columns that are referenced by the foreign key columns in the given table. |
java.sql.ResultSet |
getIndexInfo(java.lang.String catalog,
java.lang.String schema,
java.lang.String table,
boolean unique,
boolean approximate)
Gets a description of the indexes that are present on a given table. |
int |
getJDBCMajorVersion()
Retrieves the major JDBC version number for this driver. |
int |
getJDBCMinorVersion()
Retrieves the minor JDBC version number for this driver. |
int |
getMaxBinaryLiteralLength()
Gets the maximum number of hexadecimal characters allowed in an inline binary literal |
int |
getMaxCatalogNameLength()
Gets the maximum number of characters allowed in a catalog name |
int |
getMaxCharLiteralLength()
Gets the maximum number of characters allowed in a character literal |
int |
getMaxColumnNameLength()
Gets the maximum number of characters allowed in a column name |
int |
getMaxColumnsInGroupBy()
Gets the maximum number of columns allowed 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 allowed in a ORDER BY clause |
int |
getMaxColumnsInSelect()
Gets the maximum number of columns allowed in a SELECT clause |
int |
getMaxColumnsInTable()
|
int |
getMaxConnections()
|
int |
getMaxCursorNameLength()
|
int |
getMaxIndexLength()
|
int |
getMaxProcedureNameLength()
Gets the maximum number of characters allowed in a procedure name |
int |
getMaxRowSize()
Gets the maximum number of bytes allowed in a single row |
int |
getMaxSchemaNameLength()
Gets the maximum number of characters allowed in a schema name |
int |
getMaxStatementLength()
Gets the maximum number of characters allowed in an SQL statement |
int |
getMaxStatements()
Gets the maximum number of active statements that may be open on one connection at any time |
int |
getMaxTableNameLength()
Gets the maximum number of characters allowed in a table name |
int |
getMaxTablesInSelect()
Gets the maximum number of tables allowed in a SELECT clause |
int |
getMaxUserNameLength()
Gets the maximum number of characters allowed in a user name |
java.lang.String |
getNumericFunctions()
|
java.sql.ResultSet |
getPrimaryKeys(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
|
java.sql.ResultSet |
getProcedureColumns(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String procedureNamePattern,
java.lang.String columnNamePattern)
|
java.sql.ResultSet |
getProcedures(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String procedureNamePattern)
|
java.lang.String |
getProcedureTerm()
|
int |
getResultSetHoldability()
|
java.sql.RowIdLifetime |
getRowIdLifetime()
|
java.sql.ResultSet |
getSchemas()
|
java.sql.ResultSet |
getSchemas(java.lang.String catalog,
java.lang.String schemaPattern)
|
java.lang.String |
getSchemaTerm()
|
java.lang.String |
getSearchStringEscape()
Gets the string that can be used to escape "_" or "%" wildcards in the string search pattern used for search parameters |
java.lang.String |
getSQLKeywords()
|
int |
getSQLStateType()
Indicates whether the SQLSTATE returned by SQLException.getSQLState is X/Open (now known as Open Group) SQL CLI or SQL99. |
java.lang.String |
getStringFunctions()
|
java.sql.ResultSet |
getSuperTables(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern)
Retrieves a description of the table hierarchies defined in a particular schema in this database. |
java.sql.ResultSet |
getSuperTypes(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern)
Retrieves a description of the user-defined type (UDT) hierarchies defined in a particular schema in this database. |
java.lang.String |
getSystemFunctions()
|
java.sql.ResultSet |
getTablePrivileges(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableName)
|
java.sql.ResultSet |
getTables(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String tableNamePattern,
java.lang.String[] types)
|
java.sql.ResultSet |
getTableTypes()
|
java.lang.String |
getTimeDateFunctions()
|
java.sql.ResultSet |
getTypeInfo()
|
java.sql.ResultSet |
getUDTs(java.lang.String catalog,
java.lang.String schemaPattern,
java.lang.String typeNamePattern,
int[] types)
Gets a description of the user-defined types defined in a particular schema. |
java.lang.String |
getURL()
|
java.lang.String |
getUserName()
|
java.sql.ResultSet |
getVersionColumns(java.lang.String catalog,
java.lang.String schema,
java.lang.String table)
Gets the description of the columns in a table that are automatically updated when any value in a row is updated. |
boolean |
insertsAreDetected(int type)
Indicates whether or not a visible row insert can be detected by calling ResultSet.rowInserted(). |
boolean |
isCatalogAtStart()
Checks whether a catalog name appears at the start of a fully qualified table name. |
boolean |
isReadOnly()
|
boolean |
locatorsUpdateCopy()
Indicates whether updates made to a LOB are made on a copy or directly to the LOB. |
boolean |
nullPlusNonNullIsNull()
Checks whether the concatenation of a NULL vaule and a non-NULL value results in a NULL value. |
boolean |
nullsAreSortedAtEnd()
Checks whether NULL vaules are sorted at the end regardless of sort order. |
boolean |
nullsAreSortedAtStart()
Checks whether NULL vaules are sorted at the start regardless of sort order. |
boolean |
nullsAreSortedHigh()
Checks whether NULL vaules are sorted high. |
boolean |
nullsAreSortedLow()
Checks whether NULL vaules are sorted low. |
boolean |
othersDeletesAreVisible(int type)
Indicates whether deletes made by others are visible. |
boolean |
othersInsertsAreVisible(int type)
Indicates whether inserts made by others are visible. |
boolean |
othersUpdatesAreVisible(int type)
Indicates whether updates made by others are visible. |
boolean |
ownDeletesAreVisible(int type)
Indicates whether a result set's own deletes are visible. |
boolean |
ownInsertsAreVisible(int type)
Indicates whether a result set's own inserts are visible. |
boolean |
ownUpdatesAreVisible(int type)
Indicates whether a result set's own updates are visible. |
boolean |
storesLowerCaseIdentifiers()
|
boolean |
storesLowerCaseQuotedIdentifiers()
|
boolean |
storesMixedCaseIdentifiers()
|
boolean |
storesMixedCaseQuotedIdentifiers()
|
boolean |
storesUpperCaseIdentifiers()
|
boolean |
storesUpperCaseQuotedIdentifiers()
|
boolean |
supportsAlterTableWithAddColumn()
|
boolean |
supportsAlterTableWithDropColumn()
|
boolean |
supportsANSI92EntryLevelSQL()
|
boolean |
supportsANSI92FullSQL()
|
boolean |
supportsANSI92IntermediateSQL()
|
boolean |
supportsBatchUpdates()
Indicates whether the driver supports batch updates. |
boolean |
supportsCatalogsInDataManipulation()
|
boolean |
supportsCatalogsInIndexDefinitions()
|
boolean |
supportsCatalogsInPrivilegeDefinitions()
|
boolean |
supportsCatalogsInProcedureCalls()
|
boolean |
supportsCatalogsInTableDefinitions()
|
boolean |
supportsColumnAliasing()
|
boolean |
supportsConvert()
|
boolean |
supportsConvert(int fromType,
int toType)
|
boolean |
supportsCoreSQLGrammar()
|
boolean |
supportsCorrelatedSubqueries()
|
boolean |
supportsDataDefinitionAndDataManipulationTransactions()
|
boolean |
supportsDataManipulationTransactionsOnly()
|
boolean |
supportsDifferentTableCorrelationNames()
|
boolean |
supportsExpressionsInOrderBy()
|
boolean |
supportsExtendedSQLGrammar()
|
boolean |
supportsFullOuterJoins()
|
boolean |
supportsGetGeneratedKeys()
Retrieves whether auto-generated keys can be retrieved after a statement has been executed. |
boolean |
supportsGroupBy()
|
boolean |
supportsGroupByBeyondSelect()
|
boolean |
supportsGroupByUnrelated()
|
boolean |
supportsIntegrityEnhancementFacility()
|
boolean |
supportsLikeEscapeClause()
|
boolean |
supportsLimitedOuterJoins()
|
boolean |
supportsMinimumSQLGrammar()
|
boolean |
supportsMixedCaseIdentifiers()
Checks whether mixed-case unquoted SQL identifiers used in SQL statements are case sensitive |
boolean |
supportsMixedCaseQuotedIdentifiers()
Checks whether mixed-case quoted SQL identifiers used in SQL statements are case sensitive |
boolean |
supportsMultipleOpenResults()
Retrieves whether it is possible to have multiple ResultSet objects returned from a CallableStatement object simultaneously. |
boolean |
supportsMultipleResultSets()
Are multiple ResultSets from a single execute supported? |
boolean |
supportsMultipleTransactions()
Checks whether multiple transactions open at once on different connectons |
boolean |
supportsNamedParameters()
|
boolean |
supportsNonNullableColumns()
|
boolean |
supportsOpenCursorsAcrossCommit()
|
boolean |
supportsOpenCursorsAcrossRollback()
|
boolean |
supportsOpenStatementsAcrossCommit()
|
boolean |
supportsOpenStatementsAcrossRollback()
|
boolean |
supportsOrderByUnrelated()
Checks whether an ORDER BY clause can use columns that are not in the SELECT clause. |
boolean |
supportsOuterJoins()
|
boolean |
supportsPositionedDelete()
|
boolean |
supportsPositionedUpdate()
|
boolean |
supportsResultSetConcurrency(int type,
int concurrency)
|
boolean |
supportsResultSetHoldability(int holdability)
Retrieves whether database supports the given result set holdability. |
boolean |
supportsResultSetType(int type)
Does the database support the given result set type? |
boolean |
supportsSavepoints()
|
boolean |
supportsSchemasInDataManipulation()
|
boolean |
supportsSchemasInIndexDefinitions()
|
boolean |
supportsSchemasInPrivilegeDefinitions()
|
boolean |
supportsSchemasInProcedureCalls()
|
boolean |
supportsSchemasInTableDefinitions()
|
boolean |
supportsSelectForUpdate()
|
boolean |
supportsStatementPooling()
|
boolean |
supportsStoredFunctionsUsingCallSyntax()
|
boolean |
supportsStoredProcedures()
|
boolean |
supportsSubqueriesInComparisons()
|
boolean |
supportsSubqueriesInExists()
|
boolean |
supportsSubqueriesInIns()
|
boolean |
supportsSubqueriesInQuantifieds()
|
boolean |
supportsTableCorrelationNames()
|
boolean |
supportsTransactionIsolationLevel(int level)
|
boolean |
supportsTransactions()
|
boolean |
supportsUnion()
|
boolean |
supportsUnionAll()
|
boolean |
updatesAreDetected(int type)
|
boolean |
usesLocalFilePerTable()
|
boolean |
usesLocalFiles()
|
Methods inherited from class org.teiid.jdbc.WrapperImpl |
---|
isWrapperFor, unwrap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.sql.Wrapper |
---|
isWrapperFor, unwrap |
Method Detail |
---|
public boolean allProceduresAreCallable() throws java.sql.SQLException
Checks whether the current user has the required security rights to call all the procedures returned by the method getProcedures.
allProceduresAreCallable
in interface java.sql.DatabaseMetaData
SQLException.
- Should never occur.
java.sql.SQLException
public boolean allTablesAreSelectable() throws java.sql.SQLException
allTablesAreSelectable
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean dataDefinitionCausesTransactionCommit() throws java.sql.SQLException
Checks whether a DDL statement within a transaction forces the transaction to commit.
dataDefinitionCausesTransactionCommit
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- Should never occur.public boolean dataDefinitionIgnoredInTransactions() throws java.sql.SQLException
Checks whether a DDL statement within a transaction is ignored.
dataDefinitionIgnoredInTransactions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean deletesAreDetected(int type) throws java.sql.SQLException
Indicates whether or not a visible row delete can be detected by calling ResultSet.rowDeleted(). If deletesAreDetected() returns false, then deleted rows are removed from the result set.
deletesAreDetected
in interface java.sql.DatabaseMetaData
result
- set type, i.e. ResultSet.TYPE_XXX
SQLException,
- should never occur
java.sql.SQLException
public boolean doesMaxRowSizeIncludeBlobs() throws java.sql.SQLException
Did getMaxRowSize() include LONGVARCHAR and LONGVARBINARY blobs?
doesMaxRowSizeIncludeBlobs
in interface java.sql.DatabaseMetaData
true
if so; false
otherwise
SQLException,
- should never occur
java.sql.SQLException
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
Gets a description of a table's optimal set of columns that uniquely identifies a row.
getBestRowIdentifier
in interface java.sql.DatabaseMetaData
name
- of the catalog from which metadata needscatalog
- name in which the table is present.schema
- name in which this table is present.table
- name whose best row identifier info is sought.int
- indicating the scope of the result.boolean
- indicating whether the nullable columns can be included.
java.sql.SQLException
public java.sql.ResultSet getCatalogs() throws java.sql.SQLException
getCatalogs
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.lang.String getCatalogSeparator() throws java.sql.SQLException
Gets the String object used to separate a catalog name and a table name
getCatalogSeparator
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur.
java.sql.SQLException
public java.lang.String getCatalogTerm() throws java.sql.SQLException
getCatalogTerm
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.ResultSet getColumnPrivileges(java.lang.String catalog, java.lang.String schema, java.lang.String table, java.lang.String columnName) throws java.sql.SQLException
Gets a description of the access rights for a column of the given name. Catalog, schema and table names are not used to narrow down the search, but the schema name should match the virtualdatabasename used to obtain this driver connection.
getColumnPrivileges
in interface java.sql.DatabaseMetaData
name
- of the catalog to which columns belong.name
- of the schema to which columns belong.name
- of the table to which columns belong.name
- pattern to be matched by column names.
java.sql.SQLException
- if there is an error obtaining server resultspublic java.sql.ResultSet getColumns(java.lang.String catalog, java.lang.String schema, java.lang.String tableNamePattern, java.lang.String columnNamePattern) throws java.sql.SQLException
Get's the metadata information about the columns whose names match the given columnNamePattern. Catalog, schema and tableNamePattern are not used to narrow down the search, but Catalog and schema names should match the virtualdatabasename and version used to obtain this driver connection.
The ResultSet returned by this method contains the following additional columns that are not specified in the JDBC specification.
getColumns
in interface java.sql.DatabaseMetaData
catalog
- name to which the columns belong.schema
- name to which the columns belong.pattern
- name to be matched by table name.pattern
- name to be matched by column name.
java.sql.SQLException
- if there is an error obtaining server results.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
Gets the description of the foreign key columns in the table foreignTable. These foreign key columns reference primary key columns of primaryTable. Catalog and schema information is not used to narrow down the search, but Catalog and schema names(primary and foreign) should match the virtualdatabasename and version used to obtain this driver connection.
getCrossReference
in interface java.sql.DatabaseMetaData
name
- of the catalog containing primary keys.name
- of the schema containing primary keys.name
- of the table containing primary keys.name
- of the catalog containing foreign keys.name
- of the schema containing foreign keys.name
- of the table containing foreign keys.
java.sql.SQLException
- if there is an error obtaining server resultspublic int getDatabaseMinorVersion() throws java.sql.SQLException
getDatabaseMinorVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- if a database access error occurs.public int getDatabaseMajorVersion() throws java.sql.SQLException
getDatabaseMajorVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- if a database access error occurs.public int getJDBCMajorVersion() throws java.sql.SQLException
getJDBCMajorVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- should never occur.public int getJDBCMinorVersion() throws java.sql.SQLException
getJDBCMinorVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- should never occur.public java.lang.String getDatabaseProductName() throws java.sql.SQLException
Gets the product name for this database
getDatabaseProductName
in interface java.sql.DatabaseMetaData
java.sql.SQLException
- should never occur.public java.lang.String getDatabaseProductVersion() throws java.sql.SQLException
getDatabaseProductVersion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public int getDefaultTransactionIsolation() throws java.sql.SQLException
getDefaultTransactionIsolation
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public int getDriverMajorVersion()
Gets this drivers major version number
getDriverMajorVersion
in interface java.sql.DatabaseMetaData
public int getDriverMinorVersion()
Gets this drivers minor version number
getDriverMinorVersion
in interface java.sql.DatabaseMetaData
public java.lang.String getDriverName() throws java.sql.SQLException
Get the name of this JDBC driver
getDriverName
in interface java.sql.DatabaseMetaData
SQLException,
- if the connection is already closed.
java.sql.SQLException
public java.lang.String getDriverVersion() throws java.sql.SQLException
This method gets the version of this JDBC driver. It combines the major and minor version numbers
getDriverVersion
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur.
java.sql.SQLException
public java.sql.ResultSet getExportedKeys(java.lang.String catalog, java.lang.String schema, java.lang.String table) throws java.sql.SQLException
This method gets a description of the forignkey columns that reference the primary key columns in the given table. Catalog and schema names are not used to narrow down the search, but they should match the virtualdatabasename and version used to obtain this driver connection.
getExportedKeys
in interface java.sql.DatabaseMetaData
name
- of the catalog which contains the given table.schema
- name which contains the given table.table
- name which contains the primary keys.
java.sql.SQLException
- if there is an error obtaining server resultspublic java.lang.String getExtraNameCharacters() throws java.sql.SQLException
Gets the extra characters that can be used in unquoted identifier names (those beyond a-z, 0-9, and _)
getExtraNameCharacters
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public java.lang.String getIdentifierQuoteString() throws java.sql.SQLException
Get's the string used to quote SQL identifiers. This returns a " " if identifier quoting is not supported.
getIdentifierQuoteString
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public java.sql.ResultSet getImportedKeys(java.lang.String catalog, java.lang.String schema, java.lang.String table) throws java.sql.SQLException
Gets a description of the primary key columns that are referenced by the foreign key columns in the given table. Catalog and schema names are not used to narrow down the search, but they should match the virtualdatabasename and version used to obtain this driver connection.
getImportedKeys
in interface java.sql.DatabaseMetaData
name
- of the catalog which contains the given table.schema
- name which contains the given table.table
- name which contains the foreign keys.
java.sql.SQLException
- if there is an error obtaining server resultspublic java.sql.ResultSet getIndexInfo(java.lang.String catalog, java.lang.String schema, java.lang.String table, boolean unique, boolean approximate) throws java.sql.SQLException
Gets a description of the indexes that are present on a given table.
getIndexInfo
in interface java.sql.DatabaseMetaData
name
- of the catalog which contains the given table.schema
- name which contains the given table.table
- name which contains the indexes.boolean
- indicating if unique key info needs to be returned.boolean
- indicating if approximate value are to be allowed.
java.sql.SQLException
- if catalog/schema info does not match for this connection.public int getMaxBinaryLiteralLength() throws java.sql.SQLException
Gets the maximum number of hexadecimal characters allowed in an inline binary literal
getMaxBinaryLiteralLength
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public int getMaxCatalogNameLength() throws java.sql.SQLException
Gets the maximum number of characters allowed in a catalog name
getMaxCatalogNameLength
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public int getMaxCharLiteralLength() throws java.sql.SQLException
Gets the maximum number of characters allowed in a character literal
getMaxCharLiteralLength
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public int getMaxColumnNameLength() throws java.sql.SQLException
Gets the maximum number of characters allowed in a column name
getMaxColumnNameLength
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public int getMaxColumnsInGroupBy() throws java.sql.SQLException
Gets the maximum number of columns allowed in a GROUP BY clause
getMaxColumnsInGroupBy
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public int getMaxColumnsInIndex() throws java.sql.SQLException
Gets the maximum number of columns allowed in an index
getMaxColumnsInIndex
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public int getMaxColumnsInOrderBy() throws java.sql.SQLException
Gets the maximum number of columns allowed in a ORDER BY clause
getMaxColumnsInOrderBy
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public int getMaxColumnsInSelect() throws java.sql.SQLException
Gets the maximum number of columns allowed in a SELECT clause
getMaxColumnsInSelect
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public int getMaxColumnsInTable() throws java.sql.SQLException
getMaxColumnsInTable
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public int getMaxConnections() throws java.sql.SQLException
getMaxConnections
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public int getMaxCursorNameLength() throws java.sql.SQLException
getMaxCursorNameLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public int getMaxIndexLength() throws java.sql.SQLException
getMaxIndexLength
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public int getMaxProcedureNameLength() throws java.sql.SQLException
Gets the maximum number of characters allowed in a procedure name
getMaxProcedureNameLength
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public int getMaxRowSize() throws java.sql.SQLException
Gets the maximum number of bytes allowed in a single row
getMaxRowSize
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public int getMaxSchemaNameLength() throws java.sql.SQLException
Gets the maximum number of characters allowed in a schema name
getMaxSchemaNameLength
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public int getMaxStatementLength() throws java.sql.SQLException
Gets the maximum number of characters allowed in an SQL statement
getMaxStatementLength
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public int getMaxStatements() throws java.sql.SQLException
Gets the maximum number of active statements that may be open on one connection at any time
getMaxStatements
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public int getMaxTableNameLength() throws java.sql.SQLException
Gets the maximum number of characters allowed in a table name
getMaxTableNameLength
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public int getMaxTablesInSelect() throws java.sql.SQLException
Gets the maximum number of tables allowed in a SELECT clause
getMaxTablesInSelect
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public int getMaxUserNameLength() throws java.sql.SQLException
Gets the maximum number of characters allowed in a user name
getMaxUserNameLength
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public java.lang.String getNumericFunctions() throws java.sql.SQLException
getNumericFunctions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
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
java.sql.SQLException
public java.sql.ResultSet getProcedureColumns(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String procedureNamePattern, java.lang.String columnNamePattern) throws java.sql.SQLException
getProcedureColumns
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.ResultSet getProcedures(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String procedureNamePattern) throws java.sql.SQLException
getProcedures
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.lang.String getProcedureTerm() throws java.sql.SQLException
getProcedureTerm
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.ResultSet getSchemas() throws java.sql.SQLException
getSchemas
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.lang.String getSchemaTerm() throws java.sql.SQLException
getSchemaTerm
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.lang.String getSearchStringEscape() throws java.sql.SQLException
Gets the string that can be used to escape "_" or "%" wildcards in the string search pattern used for search parameters
getSearchStringEscape
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public java.lang.String getSQLKeywords() throws java.sql.SQLException
getSQLKeywords
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public int getSQLStateType() throws java.sql.SQLException
getSQLStateType
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.lang.String getStringFunctions() throws java.sql.SQLException
getStringFunctions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.ResultSet getSuperTables(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableNamePattern) throws java.sql.SQLException
getSuperTables
in interface java.sql.DatabaseMetaData
catalog
- A catalog name; "" retrieves those without a catalog;
null means drop catalog name from the selection criteria.schemaPattern
- A schema name pattern; "" retrieves those without a schema.tableNamePattern
- A table name pattern; may be a fully-qualified name.
java.sql.SQLException
- since not supportedpublic java.sql.ResultSet getSuperTypes(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableNamePattern) throws java.sql.SQLException
getSuperTypes
in interface java.sql.DatabaseMetaData
catalog
- A catalog name; "" retrieves those without a catalog;
null means drop catalog name from the selection criteria.schemaPattern
- A schema name pattern; "" retrieves those without a schema.tableNamePattern
- A table name pattern; may be a fully-qualified name.
java.sql.SQLException
public java.lang.String getSystemFunctions() throws java.sql.SQLException
getSystemFunctions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.ResultSet getTablePrivileges(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableName) throws java.sql.SQLException
getTablePrivileges
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.ResultSet getTables(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String tableNamePattern, java.lang.String[] types) throws java.sql.SQLException
getTables
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.ResultSet getTableTypes() throws java.sql.SQLException
getTableTypes
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.lang.String getTimeDateFunctions() throws java.sql.SQLException
getTimeDateFunctions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.ResultSet getTypeInfo() throws java.sql.SQLException
getTypeInfo
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.ResultSet getUDTs(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String typeNamePattern, int[] types) throws java.sql.SQLException
Gets a description of the user-defined types defined in a particular schema. Schema-specific UDTs may have type JAVA_OBJECT, STRUCT, or DISTINCT. Supports 1.4
getUDTs
in interface java.sql.DatabaseMetaData
catalog
- a catalog nameschemaPattern
- a schema name patterntypeNamePattern
- a type name patterntypes
- a list of user-named types to include (JAVA_OBJECT, STRUCT,
or DISTINCT); null returns all types
java.sql.SQLException
- if catalog/schema info does not match for the given connection.public java.lang.String getURL() throws java.sql.SQLException
getURL
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.lang.String getUserName() throws java.sql.SQLException
getUserName
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.ResultSet getVersionColumns(java.lang.String catalog, java.lang.String schema, java.lang.String table) throws java.sql.SQLException
Gets the description of the columns in a table that are automatically updated when any value in a row is updated. The column descriptions are not ordered.
getVersionColumns
in interface java.sql.DatabaseMetaData
name
- of the catalog in which the table is present.name
- of the schema in which the table is present.name
- of the table which has the version columns.
SQLException,
- should never occur
java.sql.SQLException
public boolean isCatalogAtStart() throws java.sql.SQLException
Checks whether a catalog name appears at the start of a fully qualified table name. If it is not at the beginning, it appears at the end.
isCatalogAtStart
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur.
java.sql.SQLException
public boolean insertsAreDetected(int type) throws java.sql.SQLException
Indicates whether or not a visible row insert can be detected by calling ResultSet.rowInserted().
insertsAreDetected
in interface java.sql.DatabaseMetaData
result
- set type, i.e. ResultSet.TYPE_XXX
SQLException,
- should never occur
java.sql.SQLException
public boolean isReadOnly() throws java.sql.SQLException
isReadOnly
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean locatorsUpdateCopy() throws java.sql.SQLException
Indicates whether updates made to a LOB are made on a copy or directly to the LOB.
locatorsUpdateCopy
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur.
java.sql.SQLException
public boolean nullPlusNonNullIsNull() throws java.sql.SQLException
Checks whether the concatenation of a NULL vaule and a non-NULL value results in a NULL value.
nullPlusNonNullIsNull
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur.
java.sql.SQLException
public boolean nullsAreSortedAtEnd() throws java.sql.SQLException
Checks whether NULL vaules are sorted at the end regardless of sort order.
nullsAreSortedAtEnd
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur.
java.sql.SQLException
public boolean nullsAreSortedAtStart() throws java.sql.SQLException
Checks whether NULL vaules are sorted at the start regardless of sort order.
nullsAreSortedAtStart
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur.
java.sql.SQLException
public boolean nullsAreSortedHigh() throws java.sql.SQLException
Checks whether NULL vaules are sorted high.
nullsAreSortedHigh
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur.
java.sql.SQLException
public boolean nullsAreSortedLow() throws java.sql.SQLException
Checks whether NULL vaules are sorted low.
nullsAreSortedLow
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur.
java.sql.SQLException
public boolean ownUpdatesAreVisible(int type) throws java.sql.SQLException
Indicates whether a result set's own updates are visible.
ownUpdatesAreVisible
in interface java.sql.DatabaseMetaData
result
- set type, i.e. ResultSet.TYPE_XXX
true
if updates are visible for the result set type;
false
otherwise
SQLException,
- should never occur
java.sql.SQLException
public boolean ownDeletesAreVisible(int type) throws java.sql.SQLException
Indicates whether a result set's own deletes are visible.
ownDeletesAreVisible
in interface java.sql.DatabaseMetaData
result
- set type, i.e. ResultSet.TYPE_XXX
true
if deletes are visible for the result set type;
false
otherwise
SQLException,
- should never occur
java.sql.SQLException
public boolean ownInsertsAreVisible(int type) throws java.sql.SQLException
Indicates whether a result set's own inserts are visible.
ownInsertsAreVisible
in interface java.sql.DatabaseMetaData
result
- set type, i.e. ResultSet.TYPE_XXX
true
if inserts are visible for the result set type;
false
otherwise
SQLException,
- should never occur
java.sql.SQLException
public boolean othersUpdatesAreVisible(int type) throws java.sql.SQLException
Indicates whether updates made by others are visible.
othersUpdatesAreVisible
in interface java.sql.DatabaseMetaData
result
- set type, i.e. ResultSet.TYPE_XXX
true
if updates made by others
are visible for the result set type;
false
otherwise
SQLException,
- should never occur
java.sql.SQLException
public boolean othersDeletesAreVisible(int type) throws java.sql.SQLException
Indicates whether deletes made by others are visible.
othersDeletesAreVisible
in interface java.sql.DatabaseMetaData
result
- set type, i.e. ResultSet.TYPE_XXX
true
if deletes made by others
are visible for the result set type;
false
otherwise
SQLException,
- should never occur
java.sql.SQLException
public boolean othersInsertsAreVisible(int type) throws java.sql.SQLException
Indicates whether inserts made by others are visible.
othersInsertsAreVisible
in interface java.sql.DatabaseMetaData
result
- set type, i.e. ResultSet.TYPE_XXX
true
if inserts made by others are visible for the result set type;
false
otherwise
SQLException,
- should never occur
java.sql.SQLException
public boolean storesLowerCaseIdentifiers() throws java.sql.SQLException
storesLowerCaseIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean storesLowerCaseQuotedIdentifiers() throws java.sql.SQLException
storesLowerCaseQuotedIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean storesMixedCaseIdentifiers() throws java.sql.SQLException
storesMixedCaseIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean storesMixedCaseQuotedIdentifiers() throws java.sql.SQLException
storesMixedCaseQuotedIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean storesUpperCaseIdentifiers() throws java.sql.SQLException
storesUpperCaseIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean storesUpperCaseQuotedIdentifiers() throws java.sql.SQLException
storesUpperCaseQuotedIdentifiers
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsAlterTableWithAddColumn() throws java.sql.SQLException
supportsAlterTableWithAddColumn
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsAlterTableWithDropColumn() throws java.sql.SQLException
supportsAlterTableWithDropColumn
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsANSI92EntryLevelSQL() throws java.sql.SQLException
supportsANSI92EntryLevelSQL
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsANSI92FullSQL() throws java.sql.SQLException
supportsANSI92FullSQL
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsANSI92IntermediateSQL() throws java.sql.SQLException
supportsANSI92IntermediateSQL
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsBatchUpdates() throws java.sql.SQLException
Indicates whether the driver supports batch updates.
supportsBatchUpdates
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public boolean supportsCatalogsInDataManipulation() throws java.sql.SQLException
supportsCatalogsInDataManipulation
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsCatalogsInIndexDefinitions() throws java.sql.SQLException
supportsCatalogsInIndexDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsCatalogsInPrivilegeDefinitions() throws java.sql.SQLException
supportsCatalogsInPrivilegeDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsCatalogsInProcedureCalls() throws java.sql.SQLException
supportsCatalogsInProcedureCalls
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsCatalogsInTableDefinitions() throws java.sql.SQLException
supportsCatalogsInTableDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsColumnAliasing() throws java.sql.SQLException
supportsColumnAliasing
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsConvert() throws java.sql.SQLException
supportsConvert
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsConvert(int fromType, int toType) throws java.sql.SQLException
supportsConvert
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsCorrelatedSubqueries() throws java.sql.SQLException
supportsCorrelatedSubqueries
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsCoreSQLGrammar() throws java.sql.SQLException
supportsCoreSQLGrammar
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsDataDefinitionAndDataManipulationTransactions() throws java.sql.SQLException
supportsDataDefinitionAndDataManipulationTransactions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsDataManipulationTransactionsOnly() throws java.sql.SQLException
supportsDataManipulationTransactionsOnly
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsDifferentTableCorrelationNames() throws java.sql.SQLException
supportsDifferentTableCorrelationNames
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsExpressionsInOrderBy() throws java.sql.SQLException
supportsExpressionsInOrderBy
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsExtendedSQLGrammar() throws java.sql.SQLException
supportsExtendedSQLGrammar
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsFullOuterJoins() throws java.sql.SQLException
supportsFullOuterJoins
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsGetGeneratedKeys() throws java.sql.SQLException
supportsGetGeneratedKeys
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur
java.sql.SQLException
public boolean supportsGroupBy() throws java.sql.SQLException
supportsGroupBy
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsGroupByBeyondSelect() throws java.sql.SQLException
supportsGroupByBeyondSelect
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsGroupByUnrelated() throws java.sql.SQLException
supportsGroupByUnrelated
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsIntegrityEnhancementFacility() throws java.sql.SQLException
supportsIntegrityEnhancementFacility
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsLikeEscapeClause() throws java.sql.SQLException
supportsLikeEscapeClause
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsLimitedOuterJoins() throws java.sql.SQLException
supportsLimitedOuterJoins
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsMinimumSQLGrammar() throws java.sql.SQLException
supportsMinimumSQLGrammar
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsMixedCaseIdentifiers() throws java.sql.SQLException
Checks whether mixed-case unquoted SQL identifiers used in SQL statements are case sensitive
supportsMixedCaseIdentifiers
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur.
java.sql.SQLException
public boolean supportsMixedCaseQuotedIdentifiers() throws java.sql.SQLException
Checks whether mixed-case quoted SQL identifiers used in SQL statements are case sensitive
supportsMixedCaseQuotedIdentifiers
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur.
java.sql.SQLException
public boolean supportsOpenCursorsAcrossCommit() throws java.sql.SQLException
supportsOpenCursorsAcrossCommit
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsMultipleResultSets() throws java.sql.SQLException
Are multiple ResultSets from a single execute supported?
supportsMultipleResultSets
in interface java.sql.DatabaseMetaData
true
if so; false
otherwise
SQLException,
- should never occur
java.sql.SQLException
public boolean supportsMultipleOpenResults() throws java.sql.SQLException
supportsMultipleOpenResults
in interface java.sql.DatabaseMetaData
true
if so; false
otherwise
SQLException,
- should never occur
java.sql.SQLException
public boolean supportsMultipleTransactions() throws java.sql.SQLException
Checks whether multiple transactions open at once on different connectons
supportsMultipleTransactions
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur.
java.sql.SQLException
public boolean supportsNamedParameters() throws java.sql.SQLException
supportsNamedParameters
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsNonNullableColumns() throws java.sql.SQLException
supportsNonNullableColumns
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsOpenCursorsAcrossRollback() throws java.sql.SQLException
supportsOpenCursorsAcrossRollback
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsOpenStatementsAcrossCommit() throws java.sql.SQLException
supportsOpenStatementsAcrossCommit
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsOpenStatementsAcrossRollback() throws java.sql.SQLException
supportsOpenStatementsAcrossRollback
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsOrderByUnrelated() throws java.sql.SQLException
Checks whether an ORDER BY clause can use columns that are not in the SELECT clause.
supportsOrderByUnrelated
in interface java.sql.DatabaseMetaData
SQLException,
- should never occur.
java.sql.SQLException
public boolean supportsOuterJoins() throws java.sql.SQLException
supportsOuterJoins
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsPositionedDelete() throws java.sql.SQLException
supportsPositionedDelete
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsPositionedUpdate() throws java.sql.SQLException
supportsPositionedUpdate
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsResultSetConcurrency(int type, int concurrency) throws java.sql.SQLException
supportsResultSetConcurrency
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsResultSetHoldability(int holdability) throws java.sql.SQLException
supportsResultSetHoldability
in interface java.sql.DatabaseMetaData
intValue
- holdability
SQLException,
- should never occur
java.sql.SQLException
public boolean supportsResultSetType(int type) throws java.sql.SQLException
Does the database support the given result set type?
supportsResultSetType
in interface java.sql.DatabaseMetaData
type
- defined in java.sql.ResultSet
true
if so; false
otherwise
SQLException,
- should never occur
java.sql.SQLException
Connection
public boolean supportsSavepoints() throws java.sql.SQLException
supportsSavepoints
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsSchemasInDataManipulation() throws java.sql.SQLException
supportsSchemasInDataManipulation
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsSchemasInIndexDefinitions() throws java.sql.SQLException
supportsSchemasInIndexDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsSchemasInPrivilegeDefinitions() throws java.sql.SQLException
supportsSchemasInPrivilegeDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsSchemasInProcedureCalls() throws java.sql.SQLException
supportsSchemasInProcedureCalls
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsSchemasInTableDefinitions() throws java.sql.SQLException
supportsSchemasInTableDefinitions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsSelectForUpdate() throws java.sql.SQLException
supportsSelectForUpdate
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsStatementPooling() throws java.sql.SQLException
supportsStatementPooling
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsStoredProcedures() throws java.sql.SQLException
supportsStoredProcedures
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsSubqueriesInComparisons() throws java.sql.SQLException
supportsSubqueriesInComparisons
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsSubqueriesInExists() throws java.sql.SQLException
supportsSubqueriesInExists
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsSubqueriesInIns() throws java.sql.SQLException
supportsSubqueriesInIns
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsSubqueriesInQuantifieds() throws java.sql.SQLException
supportsSubqueriesInQuantifieds
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsTableCorrelationNames() throws java.sql.SQLException
supportsTableCorrelationNames
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsTransactionIsolationLevel(int level) throws java.sql.SQLException
supportsTransactionIsolationLevel
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsTransactions() throws java.sql.SQLException
supportsTransactions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsUnion() throws java.sql.SQLException
supportsUnion
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsUnionAll() throws java.sql.SQLException
supportsUnionAll
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean updatesAreDetected(int type) throws java.sql.SQLException
updatesAreDetected
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean usesLocalFilePerTable() throws java.sql.SQLException
usesLocalFilePerTable
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean usesLocalFiles() throws java.sql.SQLException
usesLocalFiles
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean autoCommitFailureClosesAllResultSets() throws java.sql.SQLException
autoCommitFailureClosesAllResultSets
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public int getResultSetHoldability() throws java.sql.SQLException
getResultSetHoldability
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.Connection getConnection() throws java.sql.SQLException
getConnection
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public boolean supportsStoredFunctionsUsingCallSyntax() throws java.sql.SQLException
supportsStoredFunctionsUsingCallSyntax
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.ResultSet getAttributes(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String typeNamePattern, java.lang.String attributeNamePattern) throws java.sql.SQLException
getAttributes
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.ResultSet getClientInfoProperties() throws java.sql.SQLException
getClientInfoProperties
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.ResultSet getFunctionColumns(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String functionNamePattern, java.lang.String columnNamePattern) throws java.sql.SQLException
getFunctionColumns
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.ResultSet getFunctions(java.lang.String catalog, java.lang.String schemaPattern, java.lang.String functionNamePattern) throws java.sql.SQLException
getFunctions
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.RowIdLifetime getRowIdLifetime() throws java.sql.SQLException
getRowIdLifetime
in interface java.sql.DatabaseMetaData
java.sql.SQLException
public java.sql.ResultSet getSchemas(java.lang.String catalog, java.lang.String schemaPattern) throws java.sql.SQLException
getSchemas
in interface java.sql.DatabaseMetaData
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |