Class ClientDatabaseMetaData
- All Implemented Interfaces:
DatabaseMetaData, Wrapper
- Direct Known Subclasses:
NetDatabaseMetaData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Agentprivate static final intprivate static final intprotected ClientConnectionprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate Object[]private booleanprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final int(package private) ProductLevelprivate final intThe JDBC major version supported by the server.private final intThe JDBC minor version supported by the server.private static final shortprivate static final shortprivate static final shortprivate static final shortprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate booleanTrue if the server supports transport of boolean parameter values as booleans.private booleanTrue if the server supports boolean valuesprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate booleanTrue if the server supports aborting a statement whilst transferring EXTDTA objects.private static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate booleanprivate static final intprivate booleanDERBY-4805(Increase the length of the RDBNAM field in the DRDA implementation) True if the server supports RDBNAM longer than 255 characterprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate booleanTrue if the server supports QRYCLSIMP.private static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate booleanTrue if the server supports session data cachingprivate static final intprivate static final intprivate booleanTrue if the server supports nanoseconds in timestampsprivate static final intprivate static final intprivate booleanTrue if the server supports UDTsprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intFields inherited from interface 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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedClientDatabaseMetaData(Agent agent, ClientConnection connection, ProductLevel productLevel) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanfinal booleanRetrieves whether anSQLExceptionwill cause all openResultSets to be closed when auto-commit istrue.protected voidA "public" version of checkForClosedConnection() that throws SQLException instead of SqlException.private voidprivate voidcheckServerJdbcVersionX(String method, int major, int minor) Checks whether the server supports a JDBC version.private voidbooleanbooleanbooleandeletesAreDetected(int type) booleanprivate ClientResultSetbooleanSee DatabaseMetaData javadocgetAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) private ClientResultSetgetBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) private ClientResultSetgetBestRowIdentifierX(String catalog, String schema, String table, int scope, boolean nullable) private ClientResultSetReturns a list of the client info properties supported by the driver.private ClientResultSetUntraced version ofgetClientInfoProperties().getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) private ClientResultSetgetColumnPrivilegesX(String catalog, String schema, String table, String columnNamePattern) getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) private ClientResultSetgetColumnsX(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) private ClientResultSetgetCrossReferenceX(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) intintintintintgetExportedKeys(String catalog, String schema, String table) private ClientResultSetgetExportedKeysX(String catalog, String schema, String table) getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String parameterNamePattern) Get the function names available in the database.private ClientResultSetgetFunctionColumnsX(String catalog, String schemaPattern, String functionNamePattern, String parameterNamePattern) Untraced version ofgetFunctionColumns(String, String, String, String).getFunctions(String catalog, String schemaPattern, String functionNamePattern) Get the function names available in the database.private ClientResultSetgetFunctionsX(String catalog, String schemaPattern, String functionNamePattern) Untraced version ofgetFunctions(String, String, String).getImportedKeys(String catalog, String schema, String table) private ClientResultSetgetImportedKeysX(String catalog, String schema, String table) getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) private ClientResultSetgetIndexInfoX(String catalog, String schema, String table, boolean unique, boolean approximate) intintintintintintintintintintintintintintlongSee DatabaseMetaData javadocintintintintintintintintprivate booleangetMetaDataInfoBoolean(int infoCallIndex) private booleangetMetaDataInfoBoolean_supportsConvert(int infoCallIndex, int fromType, int toType) private booleangetMetaDataInfoBooleanWithType(int infoCallIndex, int type) private booleangetMetaDataInfoBooleanWithTypeClient(int infoCallIndex, int type) private booleangetMetaDataInfoBooleanWithTypeServer(int infoCallIndex, int type) private intgetMetaDataInfoInt(int infoCallIndex) private booleangetMetaDataInfoInt_SupportsResultSetConcurrency(int infoCallIndex, int type, int concurrency) private StringgetMetaDataInfoString(int infoCallIndex) private StringgetPrimaryKeys(String catalog, String schema, String table) private ClientResultSetgetPrimaryKeysX(String catalog, String schema, String table) getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) private ClientResultSetgetProcedureColumnsX(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) getProcedures(String catalog, String schemaPattern, String procedureNamePattern) private ClientResultSetgetProceduresX(String catalog, String schemaPattern, String procedureNamePattern) getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) private ClientResultSetintIndicates whether or not this data source supports the SQLROWIDtype.getSchemas(String catalog, String schemaPattern) Get the schema names available in this database.private ClientResultSetprivate ClientResultSetgetSchemasX(String catalog, String schemaPattern) Untraced version ofgetSchemas(String, String).intgetSuperTables(String catalog, String schemaPattern, String tableNamePattern) private ClientResultSetgetSuperTypes(String catalog, String schemaPattern, String typeNamePattern) private ClientResultSetgetTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) private ClientResultSetgetTablePrivilegesX(String catalog, String schemaPattern, String tableNamePattern) private ClientResultSetgetTablesX(String catalog, String schemaPattern, String tableNamePattern, String[] types) private ClientResultSetprivate ClientResultSetprivate ClientResultSetgetURL()abstract StringgetURL_()getVersionColumns(String catalog, String schema, String table) private ClientResultSetgetVersionColumnsX(String catalog, String schema, String table) booleaninsertsAreDetected(int type) booleanbooleanbooleanisWrapperFor(Class<?> interfaces) Returns false unlessinterfacesis implementedbooleanprivate voidbooleanbooleanbooleanbooleanbooleanbooleanothersDeletesAreVisible(int type) booleanothersInsertsAreVisible(int type) booleanothersUpdatesAreVisible(int type) booleanownDeletesAreVisible(int type) booleanownInsertsAreVisible(int type) booleanownUpdatesAreVisible(int type) private ClientPreparedStatementfinal booleanfinal booleanCheck if the server accepts receiving booleans as parameter values.private booleanCheck if server supports boolean valuesfinal booleanCheck if server supports product specific EXTDTA abort protocol.final booleanfinal booleanCheck whether the server has full support for the QRYCLSIMP parameter in OPNQRY.final booleanCheck if server supports session data cachingfinal booleanCheck if server supports nanoseconds in timestampsfinal booleanCheck if server supports UDTsbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleansupportsConvert(int fromType, int toType) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanDerby does not support the Types.REF_CURSOR type.booleansupportsResultSetConcurrency(int type, int concurrency) booleansupportsResultSetHoldability(int holdability) booleansupportsResultSetType(int type) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanfinal booleanRetrieves whether this database supports invoking user-defined or vendor functions using the stored procedure escape syntax.booleanbooleanbooleanbooleanbooleanbooleanbooleansupportsTransactionIsolationLevel(int level) booleanbooleanboolean<T> TReturnsthisif this class implements the interfacebooleanupdatesAreDetected(int type) booleanbooleanMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DatabaseMetaData
supportsSharding
-
Field Details
-
SQL_BEST_ROWID
private static final short SQL_BEST_ROWID- See Also:
-
SQL_ROWVER
private static final short SQL_ROWVER- See Also:
-
SQL_INDEX_UNIQUE
private static final short SQL_INDEX_UNIQUE- See Also:
-
SQL_INDEX_ALL
private static final short SQL_INDEX_ALL- See Also:
-
agent_
-
connection_
-
numberOfMetaDataInfoMethods__
private static final int numberOfMetaDataInfoMethods__- See Also:
-
metaDataInfoCache_
-
metaDataInfoIsCached_
private boolean metaDataInfoIsCached_ -
productLevel_
ProductLevel productLevel_ -
serverJdbcMajorVersion
private final int serverJdbcMajorVersionThe JDBC major version supported by the server. -
serverJdbcMinorVersion
private final int serverJdbcMinorVersionThe JDBC minor version supported by the server. -
supportsQryclsimp_
private boolean supportsQryclsimp_True if the server supports QRYCLSIMP. -
supportsLayerBStreaming_
private boolean supportsLayerBStreaming_ -
supportsSessionDataCaching_
private boolean supportsSessionDataCaching_True if the server supports session data caching -
supportsUDTs_
private boolean supportsUDTs_True if the server supports UDTs -
supportsEXTDTAAbort_
private boolean supportsEXTDTAAbort_True if the server supports aborting a statement whilst transferring EXTDTA objects. Note that there are two types of aborts, depending on whether an object is being transferred to the server using DDM layer B streaming or not. -
supportsTimestampNanoseconds_
private boolean supportsTimestampNanoseconds_True if the server supports nanoseconds in timestamps -
supportsBooleanValues_
private boolean supportsBooleanValues_True if the server supports boolean values -
supportsLongRDBNAM_
private boolean supportsLongRDBNAM_DERBY-4805(Increase the length of the RDBNAM field in the DRDA implementation) True if the server supports RDBNAM longer than 255 character -
supportsBooleanParameterTransport_
private boolean supportsBooleanParameterTransport_True if the server supports transport of boolean parameter values as booleans. If false, boolean values used as parameters in prepared statements will be transported as smallints to preserve backwards compatibility. See DERBY-4965. -
allProceduresAreCallable__
private static final int allProceduresAreCallable__- See Also:
-
allTablesAreSelectable__
private static final int allTablesAreSelectable__- See Also:
-
nullsAreSortedHigh__
private static final int nullsAreSortedHigh__- See Also:
-
nullsAreSortedLow__
private static final int nullsAreSortedLow__- See Also:
-
nullsAreSortedAtStart__
private static final int nullsAreSortedAtStart__- See Also:
-
nullsAreSortedAtEnd__
private static final int nullsAreSortedAtEnd__- See Also:
-
usesLocalFiles__
private static final int usesLocalFiles__- See Also:
-
usesLocalFilePerTable__
private static final int usesLocalFilePerTable__- See Also:
-
storesUpperCaseIdentifiers__
private static final int storesUpperCaseIdentifiers__- See Also:
-
storesLowerCaseIdentifiers__
private static final int storesLowerCaseIdentifiers__- See Also:
-
storesMixedCaseIdentifiers__
private static final int storesMixedCaseIdentifiers__- See Also:
-
storesUpperCaseQuotedIdentifiers__
private static final int storesUpperCaseQuotedIdentifiers__- See Also:
-
storesLowerCaseQuotedIdentifiers__
private static final int storesLowerCaseQuotedIdentifiers__- See Also:
-
storesMixedCaseQuotedIdentifiers__
private static final int storesMixedCaseQuotedIdentifiers__- See Also:
-
getSQLKeywords__
private static final int getSQLKeywords__- See Also:
-
getNumericFunctions__
private static final int getNumericFunctions__- See Also:
-
getStringFunctions__
private static final int getStringFunctions__- See Also:
-
getSystemFunctions__
private static final int getSystemFunctions__- See Also:
-
getTimeDateFunctions__
private static final int getTimeDateFunctions__- See Also:
-
getSearchStringEscape__
private static final int getSearchStringEscape__- See Also:
-
getExtraNameCharacters__
private static final int getExtraNameCharacters__- See Also:
-
supportsAlterTableWithAddColumn__
private static final int supportsAlterTableWithAddColumn__- See Also:
-
supportsAlterTableWithDropColumn__
private static final int supportsAlterTableWithDropColumn__- See Also:
-
supportsConvert__
private static final int supportsConvert__- See Also:
-
supportsConvertType__
private static final int supportsConvertType__- See Also:
-
supportsDifferentTableCorrelationNames__
private static final int supportsDifferentTableCorrelationNames__- See Also:
-
supportsExpressionsInOrderBy__
private static final int supportsExpressionsInOrderBy__- See Also:
-
supportsGroupBy__
private static final int supportsGroupBy__- See Also:
-
supportsGroupByBeyondSelect__
private static final int supportsGroupByBeyondSelect__- See Also:
-
supportsMultipleResultSets__
private static final int supportsMultipleResultSets__- See Also:
-
supportsMultipleTransactions__
private static final int supportsMultipleTransactions__- See Also:
-
supportsCoreSQLGrammar__
private static final int supportsCoreSQLGrammar__- See Also:
-
supportsExtendedSQLGrammar__
private static final int supportsExtendedSQLGrammar__- See Also:
-
supportsANSI92IntermediateSQL__
private static final int supportsANSI92IntermediateSQL__- See Also:
-
supportsANSI92FullSQL__
private static final int supportsANSI92FullSQL__- See Also:
-
supportsIntegrityEnhancementFacility__
private static final int supportsIntegrityEnhancementFacility__- See Also:
-
supportsOuterJoins__
private static final int supportsOuterJoins__- See Also:
-
supportsFullOuterJoins__
private static final int supportsFullOuterJoins__- See Also:
-
supportsLimitedOuterJoins__
private static final int supportsLimitedOuterJoins__- See Also:
-
getSchemaTerm__
private static final int getSchemaTerm__- See Also:
-
getProcedureTerm__
private static final int getProcedureTerm__- See Also:
-
getCatalogTerm__
private static final int getCatalogTerm__- See Also:
-
isCatalogAtStart__
private static final int isCatalogAtStart__- See Also:
-
getCatalogSeparator__
private static final int getCatalogSeparator__- See Also:
-
supportsSchemasInDataManipulation__
private static final int supportsSchemasInDataManipulation__- See Also:
-
supportsSchemasInProcedureCalls__
private static final int supportsSchemasInProcedureCalls__- See Also:
-
supportsSchemasInTableDefinitions__
private static final int supportsSchemasInTableDefinitions__- See Also:
-
supportsSchemasInIndexDefinitions__
private static final int supportsSchemasInIndexDefinitions__- See Also:
-
supportsSchemasInPrivilegeDefinitions__
private static final int supportsSchemasInPrivilegeDefinitions__- See Also:
-
supportsCatalogsInDataManipulation__
private static final int supportsCatalogsInDataManipulation__- See Also:
-
supportsCatalogsInProcedureCalls__
private static final int supportsCatalogsInProcedureCalls__- See Also:
-
supportsCatalogsInTableDefinitions__
private static final int supportsCatalogsInTableDefinitions__- See Also:
-
supportsCatalogsInIndexDefinitions__
private static final int supportsCatalogsInIndexDefinitions__- See Also:
-
supportsCatalogsInPrivilegeDefinitions__
private static final int supportsCatalogsInPrivilegeDefinitions__- See Also:
-
supportsPositionedDelete__
private static final int supportsPositionedDelete__- See Also:
-
supportsPositionedUpdate__
private static final int supportsPositionedUpdate__- See Also:
-
supportsSelectForUpdate__
private static final int supportsSelectForUpdate__- See Also:
-
supportsStoredProcedures__
private static final int supportsStoredProcedures__- See Also:
-
supportsSubqueriesInComparisons__
private static final int supportsSubqueriesInComparisons__- See Also:
-
supportsUnion__
private static final int supportsUnion__- See Also:
-
supportsUnionAll__
private static final int supportsUnionAll__- See Also:
-
supportsOpenCursorsAcrossCommit__
private static final int supportsOpenCursorsAcrossCommit__- See Also:
-
supportsOpenCursorsAcrossRollback__
private static final int supportsOpenCursorsAcrossRollback__- See Also:
-
supportsOpenStatementsAcrossCommit__
private static final int supportsOpenStatementsAcrossCommit__- See Also:
-
supportsOpenStatementsAcrossRollback__
private static final int supportsOpenStatementsAcrossRollback__- See Also:
-
getMaxBinaryLiteralLength__
private static final int getMaxBinaryLiteralLength__- See Also:
-
getMaxCharLiteralLength__
private static final int getMaxCharLiteralLength__- See Also:
-
getMaxColumnNameLength__
private static final int getMaxColumnNameLength__- See Also:
-
getMaxColumnsInGroupBy__
private static final int getMaxColumnsInGroupBy__- See Also:
-
getMaxColumnsInIndex__
private static final int getMaxColumnsInIndex__- See Also:
-
getMaxColumnsInOrderBy__
private static final int getMaxColumnsInOrderBy__- See Also:
-
getMaxColumnsInSelect__
private static final int getMaxColumnsInSelect__- See Also:
-
getMaxColumnsInTable__
private static final int getMaxColumnsInTable__- See Also:
-
getMaxConnections__
private static final int getMaxConnections__- See Also:
-
getMaxCursorNameLength__
private static final int getMaxCursorNameLength__- See Also:
-
getMaxIndexLength__
private static final int getMaxIndexLength__- See Also:
-
getMaxSchemaNameLength__
private static final int getMaxSchemaNameLength__- See Also:
-
getMaxProcedureNameLength__
private static final int getMaxProcedureNameLength__- See Also:
-
getMaxCatalogNameLength__
private static final int getMaxCatalogNameLength__- See Also:
-
getMaxRowSize__
private static final int getMaxRowSize__- See Also:
-
doesMaxRowSizeIncludeBlobs__
private static final int doesMaxRowSizeIncludeBlobs__- See Also:
-
getMaxStatementLength__
private static final int getMaxStatementLength__- See Also:
-
getMaxStatements__
private static final int getMaxStatements__- See Also:
-
getMaxTableNameLength__
private static final int getMaxTableNameLength__- See Also:
-
getMaxTablesInSelect__
private static final int getMaxTablesInSelect__- See Also:
-
getMaxUserNameLength__
private static final int getMaxUserNameLength__- See Also:
-
getDefaultTransactionIsolation__
private static final int getDefaultTransactionIsolation__- See Also:
-
supportsTransactions__
private static final int supportsTransactions__- See Also:
-
supportsTransactionIsolationLevel__
private static final int supportsTransactionIsolationLevel__- See Also:
-
supportsDataDefinitionAndDataManipulationTransactions__
private static final int supportsDataDefinitionAndDataManipulationTransactions__- See Also:
-
supportsDataManipulationTransactionsOnly__
private static final int supportsDataManipulationTransactionsOnly__- See Also:
-
dataDefinitionCausesTransactionCommit__
private static final int dataDefinitionCausesTransactionCommit__- See Also:
-
dataDefinitionIgnoredInTransactions__
private static final int dataDefinitionIgnoredInTransactions__- See Also:
-
supportsResultSetType__
private static final int supportsResultSetType__- See Also:
-
supportsResultSetConcurrency__
private static final int supportsResultSetConcurrency__- See Also:
-
ownUpdatesAreVisible__
private static final int ownUpdatesAreVisible__- See Also:
-
ownDeletesAreVisible__
private static final int ownDeletesAreVisible__- See Also:
-
ownInsertsAreVisible__
private static final int ownInsertsAreVisible__- See Also:
-
othersUpdatesAreVisible__
private static final int othersUpdatesAreVisible__- See Also:
-
othersDeletesAreVisible__
private static final int othersDeletesAreVisible__- See Also:
-
othersInsertsAreVisible__
private static final int othersInsertsAreVisible__- See Also:
-
updatesAreDetected__
private static final int updatesAreDetected__- See Also:
-
deletesAreDetected__
private static final int deletesAreDetected__- See Also:
-
insertsAreDetected__
private static final int insertsAreDetected__- See Also:
-
supportsBatchUpdates__
private static final int supportsBatchUpdates__- See Also:
-
-
Constructor Details
-
ClientDatabaseMetaData
protected ClientDatabaseMetaData(Agent agent, ClientConnection connection, ProductLevel productLevel)
-
-
Method Details
-
allProceduresAreCallable
- Specified by:
allProceduresAreCallablein interfaceDatabaseMetaData- Throws:
SQLException
-
allTablesAreSelectable
- Specified by:
allTablesAreSelectablein interfaceDatabaseMetaData- Throws:
SQLException
-
nullsAreSortedHigh
- Specified by:
nullsAreSortedHighin interfaceDatabaseMetaData- Throws:
SQLException
-
nullsAreSortedLow
- Specified by:
nullsAreSortedLowin interfaceDatabaseMetaData- Throws:
SQLException
-
nullsAreSortedAtStart
- Specified by:
nullsAreSortedAtStartin interfaceDatabaseMetaData- Throws:
SQLException
-
nullsAreSortedAtEnd
- Specified by:
nullsAreSortedAtEndin interfaceDatabaseMetaData- Throws:
SQLException
-
usesLocalFiles
- Specified by:
usesLocalFilesin interfaceDatabaseMetaData- Throws:
SQLException
-
usesLocalFilePerTable
- Specified by:
usesLocalFilePerTablein interfaceDatabaseMetaData- Throws:
SQLException
-
storesUpperCaseIdentifiers
- Specified by:
storesUpperCaseIdentifiersin interfaceDatabaseMetaData- Throws:
SQLException
-
storesLowerCaseIdentifiers
- Specified by:
storesLowerCaseIdentifiersin interfaceDatabaseMetaData- Throws:
SQLException
-
storesMixedCaseIdentifiers
- Specified by:
storesMixedCaseIdentifiersin interfaceDatabaseMetaData- Throws:
SQLException
-
storesUpperCaseQuotedIdentifiers
- Specified by:
storesUpperCaseQuotedIdentifiersin interfaceDatabaseMetaData- Throws:
SQLException
-
storesLowerCaseQuotedIdentifiers
- Specified by:
storesLowerCaseQuotedIdentifiersin interfaceDatabaseMetaData- Throws:
SQLException
-
storesMixedCaseQuotedIdentifiers
- Specified by:
storesMixedCaseQuotedIdentifiersin interfaceDatabaseMetaData- Throws:
SQLException
-
getSQLKeywords
- Specified by:
getSQLKeywordsin interfaceDatabaseMetaData- Throws:
SQLException
-
getNumericFunctions
- Specified by:
getNumericFunctionsin interfaceDatabaseMetaData- Throws:
SQLException
-
getStringFunctions
- Specified by:
getStringFunctionsin interfaceDatabaseMetaData- Throws:
SQLException
-
getSystemFunctions
- Specified by:
getSystemFunctionsin interfaceDatabaseMetaData- Throws:
SQLException
-
getTimeDateFunctions
- Specified by:
getTimeDateFunctionsin interfaceDatabaseMetaData- Throws:
SQLException
-
getSearchStringEscape
- Specified by:
getSearchStringEscapein interfaceDatabaseMetaData- Throws:
SQLException
-
getExtraNameCharacters
- Specified by:
getExtraNameCharactersin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsAlterTableWithAddColumn
- Specified by:
supportsAlterTableWithAddColumnin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsAlterTableWithDropColumn
- Specified by:
supportsAlterTableWithDropColumnin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsConvert
- Specified by:
supportsConvertin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsConvert
- Specified by:
supportsConvertin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsDifferentTableCorrelationNames
- Specified by:
supportsDifferentTableCorrelationNamesin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsExpressionsInOrderBy
- Specified by:
supportsExpressionsInOrderByin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsGroupBy
- Specified by:
supportsGroupByin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsGroupByBeyondSelect
- Specified by:
supportsGroupByBeyondSelectin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsMultipleResultSets
- Specified by:
supportsMultipleResultSetsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsMultipleTransactions
- Specified by:
supportsMultipleTransactionsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsCoreSQLGrammar
- Specified by:
supportsCoreSQLGrammarin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsExtendedSQLGrammar
- Specified by:
supportsExtendedSQLGrammarin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsANSI92IntermediateSQL
- Specified by:
supportsANSI92IntermediateSQLin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsANSI92FullSQL
- Specified by:
supportsANSI92FullSQLin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsIntegrityEnhancementFacility
- Specified by:
supportsIntegrityEnhancementFacilityin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsOuterJoins
- Specified by:
supportsOuterJoinsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsFullOuterJoins
- Specified by:
supportsFullOuterJoinsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsLimitedOuterJoins
- Specified by:
supportsLimitedOuterJoinsin interfaceDatabaseMetaData- Throws:
SQLException
-
getSchemaTerm
- Specified by:
getSchemaTermin interfaceDatabaseMetaData- Throws:
SQLException
-
getProcedureTerm
- Specified by:
getProcedureTermin interfaceDatabaseMetaData- Throws:
SQLException
-
getCatalogTerm
- Specified by:
getCatalogTermin interfaceDatabaseMetaData- Throws:
SQLException
-
isCatalogAtStart
- Specified by:
isCatalogAtStartin interfaceDatabaseMetaData- Throws:
SQLException
-
getCatalogSeparator
- Specified by:
getCatalogSeparatorin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsSchemasInDataManipulation
- Specified by:
supportsSchemasInDataManipulationin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsSchemasInProcedureCalls
- Specified by:
supportsSchemasInProcedureCallsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsSchemasInTableDefinitions
- Specified by:
supportsSchemasInTableDefinitionsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsSchemasInIndexDefinitions
- Specified by:
supportsSchemasInIndexDefinitionsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsSchemasInPrivilegeDefinitions
- Specified by:
supportsSchemasInPrivilegeDefinitionsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsCatalogsInDataManipulation
- Specified by:
supportsCatalogsInDataManipulationin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsCatalogsInProcedureCalls
- Specified by:
supportsCatalogsInProcedureCallsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsCatalogsInTableDefinitions
- Specified by:
supportsCatalogsInTableDefinitionsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsCatalogsInIndexDefinitions
- Specified by:
supportsCatalogsInIndexDefinitionsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsCatalogsInPrivilegeDefinitions
- Specified by:
supportsCatalogsInPrivilegeDefinitionsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsPositionedDelete
- Specified by:
supportsPositionedDeletein interfaceDatabaseMetaData- Throws:
SQLException
-
supportsPositionedUpdate
- Specified by:
supportsPositionedUpdatein interfaceDatabaseMetaData- Throws:
SQLException
-
supportsSelectForUpdate
- Specified by:
supportsSelectForUpdatein interfaceDatabaseMetaData- Throws:
SQLException
-
supportsStoredProcedures
- Specified by:
supportsStoredProceduresin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsSubqueriesInComparisons
- Specified by:
supportsSubqueriesInComparisonsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsUnion
- Specified by:
supportsUnionin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsUnionAll
- Specified by:
supportsUnionAllin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsOpenCursorsAcrossCommit
- Specified by:
supportsOpenCursorsAcrossCommitin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsOpenCursorsAcrossRollback
- Specified by:
supportsOpenCursorsAcrossRollbackin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsOpenStatementsAcrossCommit
- Specified by:
supportsOpenStatementsAcrossCommitin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsOpenStatementsAcrossRollback
- Specified by:
supportsOpenStatementsAcrossRollbackin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxBinaryLiteralLength
- Specified by:
getMaxBinaryLiteralLengthin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxCharLiteralLength
- Specified by:
getMaxCharLiteralLengthin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxColumnNameLength
- Specified by:
getMaxColumnNameLengthin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxColumnsInGroupBy
- Specified by:
getMaxColumnsInGroupByin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxColumnsInIndex
- Specified by:
getMaxColumnsInIndexin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxColumnsInOrderBy
- Specified by:
getMaxColumnsInOrderByin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxColumnsInSelect
- Specified by:
getMaxColumnsInSelectin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxColumnsInTable
- Specified by:
getMaxColumnsInTablein interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxConnections
- Specified by:
getMaxConnectionsin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxCursorNameLength
- Specified by:
getMaxCursorNameLengthin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxIndexLength
- Specified by:
getMaxIndexLengthin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxSchemaNameLength
- Specified by:
getMaxSchemaNameLengthin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxProcedureNameLength
- Specified by:
getMaxProcedureNameLengthin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxCatalogNameLength
- Specified by:
getMaxCatalogNameLengthin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxRowSize
- Specified by:
getMaxRowSizein interfaceDatabaseMetaData- Throws:
SQLException
-
doesMaxRowSizeIncludeBlobs
- Specified by:
doesMaxRowSizeIncludeBlobsin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxStatementLength
- Specified by:
getMaxStatementLengthin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxStatements
- Specified by:
getMaxStatementsin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxTableNameLength
- Specified by:
getMaxTableNameLengthin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxTablesInSelect
- Specified by:
getMaxTablesInSelectin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxUserNameLength
- Specified by:
getMaxUserNameLengthin interfaceDatabaseMetaData- Throws:
SQLException
-
getDefaultTransactionIsolation
- Specified by:
getDefaultTransactionIsolationin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsTransactions
- Specified by:
supportsTransactionsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsTransactionIsolationLevel
- Specified by:
supportsTransactionIsolationLevelin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsDataDefinitionAndDataManipulationTransactions
- Specified by:
supportsDataDefinitionAndDataManipulationTransactionsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsDataManipulationTransactionsOnly
- Specified by:
supportsDataManipulationTransactionsOnlyin interfaceDatabaseMetaData- Throws:
SQLException
-
dataDefinitionCausesTransactionCommit
- Specified by:
dataDefinitionCausesTransactionCommitin interfaceDatabaseMetaData- Throws:
SQLException
-
dataDefinitionIgnoredInTransactions
- Specified by:
dataDefinitionIgnoredInTransactionsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsResultSetType
- Specified by:
supportsResultSetTypein interfaceDatabaseMetaData- Throws:
SQLException
-
supportsResultSetConcurrency
- Specified by:
supportsResultSetConcurrencyin interfaceDatabaseMetaData- Throws:
SQLException
-
ownUpdatesAreVisible
- Specified by:
ownUpdatesAreVisiblein interfaceDatabaseMetaData- Throws:
SQLException
-
ownDeletesAreVisible
- Specified by:
ownDeletesAreVisiblein interfaceDatabaseMetaData- Throws:
SQLException
-
ownInsertsAreVisible
- Specified by:
ownInsertsAreVisiblein interfaceDatabaseMetaData- Throws:
SQLException
-
othersUpdatesAreVisible
- Specified by:
othersUpdatesAreVisiblein interfaceDatabaseMetaData- Throws:
SQLException
-
othersDeletesAreVisible
- Specified by:
othersDeletesAreVisiblein interfaceDatabaseMetaData- Throws:
SQLException
-
othersInsertsAreVisible
- Specified by:
othersInsertsAreVisiblein interfaceDatabaseMetaData- Throws:
SQLException
-
updatesAreDetected
- Specified by:
updatesAreDetectedin interfaceDatabaseMetaData- Throws:
SQLException
-
deletesAreDetected
- Specified by:
deletesAreDetectedin interfaceDatabaseMetaData- Throws:
SQLException
-
insertsAreDetected
- Specified by:
insertsAreDetectedin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsBatchUpdates
- Specified by:
supportsBatchUpdatesin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsSavepoints
- Specified by:
supportsSavepointsin interfaceDatabaseMetaData- Throws:
SQLException
-
getURL_
- Throws:
SqlException
-
getURL
- Specified by:
getURLin interfaceDatabaseMetaData- Throws:
SQLException
-
getUserName
- Specified by:
getUserNamein interfaceDatabaseMetaData- Throws:
SQLException
-
isReadOnly
- Specified by:
isReadOnlyin interfaceDatabaseMetaData- Throws:
SQLException
-
getDatabaseProductName
- Specified by:
getDatabaseProductNamein interfaceDatabaseMetaData- Throws:
SQLException
-
getDatabaseProductVersion
- Specified by:
getDatabaseProductVersionin interfaceDatabaseMetaData- Throws:
SQLException
-
getDriverName
- Specified by:
getDriverNamein interfaceDatabaseMetaData- Throws:
SQLException
-
getDriverVersion
- Specified by:
getDriverVersionin interfaceDatabaseMetaData- Throws:
SQLException
-
getDriverMajorVersion
public int getDriverMajorVersion()- Specified by:
getDriverMajorVersionin interfaceDatabaseMetaData
-
getDriverMinorVersion
public int getDriverMinorVersion()- Specified by:
getDriverMinorVersionin interfaceDatabaseMetaData
-
supportsMixedCaseIdentifiers
- Specified by:
supportsMixedCaseIdentifiersin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsMixedCaseQuotedIdentifiers
- Specified by:
supportsMixedCaseQuotedIdentifiersin interfaceDatabaseMetaData- Throws:
SQLException
-
getIdentifierQuoteString
- Specified by:
getIdentifierQuoteStringin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsColumnAliasing
- Specified by:
supportsColumnAliasingin interfaceDatabaseMetaData- Throws:
SQLException
-
nullPlusNonNullIsNull
- Specified by:
nullPlusNonNullIsNullin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsTableCorrelationNames
- Specified by:
supportsTableCorrelationNamesin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsLikeEscapeClause
- Specified by:
supportsLikeEscapeClausein interfaceDatabaseMetaData- Throws:
SQLException
-
supportsNonNullableColumns
- Specified by:
supportsNonNullableColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsMinimumSQLGrammar
- Specified by:
supportsMinimumSQLGrammarin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsANSI92EntryLevelSQL
- Specified by:
supportsANSI92EntryLevelSQLin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsSubqueriesInExists
- Specified by:
supportsSubqueriesInExistsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsSubqueriesInIns
- Specified by:
supportsSubqueriesInInsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsSubqueriesInQuantifieds
- Specified by:
supportsSubqueriesInQuantifiedsin interfaceDatabaseMetaData- Throws:
SQLException
-
getProcedures
public ResultSet getProcedures(String catalog, String schemaPattern, String procedureNamePattern) throws SQLException - Specified by:
getProceduresin interfaceDatabaseMetaData- Throws:
SQLException
-
getProceduresX
private ClientResultSet getProceduresX(String catalog, String schemaPattern, String procedureNamePattern) throws SqlException - Throws:
SqlException
-
getProcedureColumns
public ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException - Specified by:
getProcedureColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
getProcedureColumnsX
private ClientResultSet getProcedureColumnsX(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SqlException - Throws:
SqlException
-
getFunctions
public ResultSet getFunctions(String catalog, String schemaPattern, String functionNamePattern) throws SQLException Get the function names available in the database. Calls stored procedureSYSIBM.SQLFunctions(CatalogName varchar(128), SchemaName varchar(128), FuncName varchar(128), Options varchar(4000))on the server. This procedure will in turn callEmbedDatabaseMetaData.getFunctions(String,String,String)Compatibility: Only available if both server and client version < 10.1, and JDK version >= 1.6. Older clients will not have this method available. Newer clients will be able to call this method when connected to an older server, but this will be trigger an exception in
checkServerJdbcVersionX().Upgrade:
SYSIBM.SQLFunctionsis added inDataDictionaryImpl.create_10_2_system_procedures (TransactionController,UUID)so it will become available in newly created databases and after hard upgrade.- Specified by:
getFunctionsin interfaceDatabaseMetaData- Parameters:
catalog- limit search to this catalogschemaPattern- limit search to schemas matching this patternfunctionNamePattern- limit search to functions matching this pattern- Returns:
- a
ResultSetlisting the fucntions - Throws:
SQLException- if a database error occurs- See Also:
-
getFunctionsX
private ClientResultSet getFunctionsX(String catalog, String schemaPattern, String functionNamePattern) throws SqlException Untraced version ofgetFunctions(String, String, String).- Parameters:
catalog- limit search to this catalogschemaPattern- limit search to schemas matching this patternfunctionNamePattern- limit search to functions matching this pattern- Returns:
- a
ResultSetlisting the fucntions - Throws:
SqlException- if a database error occurs- See Also:
-
getFunctionColumns
public ResultSet getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String parameterNamePattern) throws SQLException Get the function names available in the database. Calls stored procedureSYSIBM.SQLFunctionParams(CatalogName varchar(128), SchemaName varchar(128), FuncName varchar(128), ParamName varchar(128), Options varchar(4000))on the server. This procedure will in turn callEmbedDatabaseMetaData.getFunctionColumns(String,String, String,String)Compatibility: Only available if both server and client version > 10.1, and JDK version >= 1.6. Older clients will not have this method available. Newer clients will be able to call this method when connected to an older server, but this will be trigger an exception in
checkServerJdbcVersionX().Upgrade:
SYSIBM.SQLFunctionParamsis added inDataDictionaryImpl.create_10_2_system_procedures (TransactionController,UUID)so it will become available in newly created databases and after hard upgrade.- Specified by:
getFunctionColumnsin interfaceDatabaseMetaData- Parameters:
catalog- limit search to this catalogschemaPattern- limit search to schemas matching this patternfunctionNamePattern- limit search to functions matching this pattern- Returns:
- a
ResultSetlisting the fucntions - Throws:
SQLException- if a database error occurs- See Also:
-
getFunctionColumnsX
private ClientResultSet getFunctionColumnsX(String catalog, String schemaPattern, String functionNamePattern, String parameterNamePattern) throws SqlException Untraced version ofgetFunctionColumns(String, String, String, String).- Parameters:
catalog- limit search to this catalogschemaPattern- limit search to schemas matching this patternfunctionNamePattern- limit search to functions matching this patternparameterNamePattern- limit search to parameters mathing this pattern- Returns:
- a
ResultSetlisting the fucntions - Throws:
SqlException- if a database error occurs- See Also:
-
getTables
public ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SQLException - Specified by:
getTablesin interfaceDatabaseMetaData- Throws:
SQLException
-
getTablesX
private ClientResultSet getTablesX(String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SqlException - Throws:
SqlException
-
getSchemas
- Specified by:
getSchemasin interfaceDatabaseMetaData- Throws:
SQLException
-
getSchemasX
- Throws:
SqlException
-
getCatalogs
- Specified by:
getCatalogsin interfaceDatabaseMetaData- Throws:
SQLException
-
getCatalogsX
- Throws:
SqlException
-
getTableTypes
- Specified by:
getTableTypesin interfaceDatabaseMetaData- Throws:
SQLException
-
getTableTypesX
- Throws:
SqlException
-
getColumns
public ResultSet getColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException - Specified by:
getColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
getColumnsX
private ClientResultSet getColumnsX(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SqlException - Throws:
SqlException
-
getColumnPrivileges
public ResultSet getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) throws SQLException - Specified by:
getColumnPrivilegesin interfaceDatabaseMetaData- Throws:
SQLException
-
getColumnPrivilegesX
private ClientResultSet getColumnPrivilegesX(String catalog, String schema, String table, String columnNamePattern) throws SqlException - Throws:
SqlException
-
getTablePrivileges
public ResultSet getTablePrivileges(String catalog, String schemaPattern, String tableNamePattern) throws SQLException - Specified by:
getTablePrivilegesin interfaceDatabaseMetaData- Throws:
SQLException
-
getTablePrivilegesX
private ClientResultSet getTablePrivilegesX(String catalog, String schemaPattern, String tableNamePattern) throws SqlException - Throws:
SqlException
-
getBestRowIdentifier
public ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException - Specified by:
getBestRowIdentifierin interfaceDatabaseMetaData- Throws:
SQLException
-
getBestRowIdentifierX
private ClientResultSet getBestRowIdentifierX(String catalog, String schema, String table, int scope, boolean nullable) throws SqlException - Throws:
SqlException
-
getVersionColumns
- Specified by:
getVersionColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
getVersionColumnsX
private ClientResultSet getVersionColumnsX(String catalog, String schema, String table) throws SqlException - Throws:
SqlException
-
getPrimaryKeys
- Specified by:
getPrimaryKeysin interfaceDatabaseMetaData- Throws:
SQLException
-
getPrimaryKeysX
private ClientResultSet getPrimaryKeysX(String catalog, String schema, String table) throws SqlException - Throws:
SqlException
-
getImportedKeys
- Specified by:
getImportedKeysin interfaceDatabaseMetaData- Throws:
SQLException
-
getImportedKeysX
private ClientResultSet getImportedKeysX(String catalog, String schema, String table) throws SqlException - Throws:
SqlException
-
getExportedKeys
- Specified by:
getExportedKeysin interfaceDatabaseMetaData- Throws:
SQLException
-
getExportedKeysX
private ClientResultSet getExportedKeysX(String catalog, String schema, String table) throws SqlException - Throws:
SqlException
-
getCrossReference
public ResultSet getCrossReference(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SQLException - Specified by:
getCrossReferencein interfaceDatabaseMetaData- Throws:
SQLException
-
getCrossReferenceX
private ClientResultSet getCrossReferenceX(String primaryCatalog, String primarySchema, String primaryTable, String foreignCatalog, String foreignSchema, String foreignTable) throws SqlException - Throws:
SqlException
-
getTypeInfo
- Specified by:
getTypeInfoin interfaceDatabaseMetaData- Throws:
SQLException
-
getTypeInfoX
- Throws:
SqlException
-
getIndexInfo
public ResultSet getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) throws SQLException - Specified by:
getIndexInfoin interfaceDatabaseMetaData- Throws:
SQLException
-
getIndexInfoX
private ClientResultSet getIndexInfoX(String catalog, String schema, String table, boolean unique, boolean approximate) throws SqlException - Throws:
SqlException
-
getUDTs
public ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException - Specified by:
getUDTsin interfaceDatabaseMetaData- Throws:
SQLException
-
getUDTsX
private ClientResultSet getUDTsX(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SqlException - Throws:
SqlException
-
getOptions
-
executeCatalogQuery
- Throws:
SqlException
-
getConnection
- Specified by:
getConnectionin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsNamedParameters
- Specified by:
supportsNamedParametersin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsMultipleOpenResults
- Specified by:
supportsMultipleOpenResultsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsGetGeneratedKeys
- Specified by:
supportsGetGeneratedKeysin interfaceDatabaseMetaData- Throws:
SQLException
-
getSuperTypes
public ResultSet getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) throws SQLException - Specified by:
getSuperTypesin interfaceDatabaseMetaData- Throws:
SQLException
-
getSuperTypesX
- Throws:
SqlException
-
getSuperTables
public ResultSet getSuperTables(String catalog, String schemaPattern, String tableNamePattern) throws SQLException - Specified by:
getSuperTablesin interfaceDatabaseMetaData- Throws:
SQLException
-
getSuperTablesX
- Throws:
SqlException
-
getAttributes
public ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException - Specified by:
getAttributesin interfaceDatabaseMetaData- Throws:
SQLException
-
getAttributesX
- Throws:
SqlException
-
supportsResultSetHoldability
- Specified by:
supportsResultSetHoldabilityin interfaceDatabaseMetaData- Throws:
SQLException
-
getResultSetHoldability
- Specified by:
getResultSetHoldabilityin interfaceDatabaseMetaData- Throws:
SQLException
-
getDatabaseMajorVersion
- Specified by:
getDatabaseMajorVersionin interfaceDatabaseMetaData- Throws:
SQLException
-
getDatabaseMinorVersion
- Specified by:
getDatabaseMinorVersionin interfaceDatabaseMetaData- Throws:
SQLException
-
getJDBCMajorVersion
- Specified by:
getJDBCMajorVersionin interfaceDatabaseMetaData- Throws:
SQLException
-
getJDBCMinorVersion
- Specified by:
getJDBCMinorVersionin interfaceDatabaseMetaData- Throws:
SQLException
-
getSQLStateType
- Specified by:
getSQLStateTypein interfaceDatabaseMetaData- Throws:
SQLException
-
locatorsUpdateCopy
- Specified by:
locatorsUpdateCopyin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsStatementPooling
- Specified by:
supportsStatementPoolingin interfaceDatabaseMetaData- Throws:
SQLException
-
computeFeatureSet_
private void computeFeatureSet_() -
serverSupportsQryclsimp
public final boolean serverSupportsQryclsimp()Check whether the server has full support for the QRYCLSIMP parameter in OPNQRY.- Returns:
- true if QRYCLSIMP is fully supported
-
serverSupportsLayerBStreaming
public final boolean serverSupportsLayerBStreaming() -
serverSupportsSessionDataCaching
public final boolean serverSupportsSessionDataCaching()Check if server supports session data caching- Returns:
- true if the server supports this
-
serverSupportsUDTs
public final boolean serverSupportsUDTs()Check if server supports UDTs- Returns:
- true if the server supports this
-
serverSupportsTimestampNanoseconds
public final boolean serverSupportsTimestampNanoseconds()Check if server supports nanoseconds in timestamps- Returns:
- true if the server supports this
-
serverSupportsEXTDTAAbort
public final boolean serverSupportsEXTDTAAbort()Check if server supports product specific EXTDTA abort protocol.- Returns:
trueif the server supports this.
-
serverSupportsBooleanValues
private boolean serverSupportsBooleanValues()Check if server supports boolean values- Returns:
- true if the server supports this
-
serverSupportsBooleanParameterTransport
public final boolean serverSupportsBooleanParameterTransport()Check if the server accepts receiving booleans as parameter values.- Returns:
- true if the server supports this
-
serverSupportLongRDBNAM
public final boolean serverSupportLongRDBNAM() -
getMetaDataInfoBoolean
- Throws:
SQLException
-
getMetaDataInfoInt
- Throws:
SQLException
-
getMetaDataInfoString
- Throws:
SQLException
-
getMetaDataInfoBooleanWithType
- Throws:
SQLException
-
getMetaDataInfoBooleanWithTypeClient
private boolean getMetaDataInfoBooleanWithTypeClient(int infoCallIndex, int type) throws SQLException - Throws:
SQLException
-
getMetaDataInfoBooleanWithTypeServer
private boolean getMetaDataInfoBooleanWithTypeServer(int infoCallIndex, int type) throws SQLException - Throws:
SQLException
-
getMetaDataInfoInt_SupportsResultSetConcurrency
private boolean getMetaDataInfoInt_SupportsResultSetConcurrency(int infoCallIndex, int type, int concurrency) throws SQLException - Throws:
SQLException
-
getMetaDataInfoBoolean_supportsConvert
private boolean getMetaDataInfoBoolean_supportsConvert(int infoCallIndex, int fromType, int toType) throws SQLException - Throws:
SQLException
-
metaDataInfoCall
- Throws:
SqlException
-
supportsStoredFunctionsUsingCallSyntax
Retrieves whether this database supports invoking user-defined or vendor functions using the stored procedure escape syntax.- Specified by:
supportsStoredFunctionsUsingCallSyntaxin interfaceDatabaseMetaData- Returns:
true, since Derby supports the escape syntax- Throws:
SQLException- if a database access error occurs
-
autoCommitFailureClosesAllResultSets
Retrieves whether anSQLExceptionwill cause all openResultSets to be closed when auto-commit istrue.- Specified by:
autoCommitFailureClosesAllResultSetsin interfaceDatabaseMetaData- Returns:
false, since Derby does not close all open result sets when an error occurs- Throws:
SQLException- if a database access error occurs
-
getSchemas
Get the schema names available in this database. The results are ordered by schema name.The schema columns are:
- TABLE_SCHEM String => schema name
- TABLE_CATALOG String => catalog name
(may be
null)
- Specified by:
getSchemasin interfaceDatabaseMetaData- Parameters:
catalog- catalog name used to narrow down the search; "" means no catalog,nullmeans any catalogschemaPattern- schema name used to narrow down the search,nullmeans schema name should not be used to narrow down search- Returns:
- a
ResultSetobject in which each row is a schema description - Throws:
SQLException- if a database error occurs
-
getSchemasX
Untraced version ofgetSchemas(String, String).- Parameters:
catalog- catalog nameschemaPattern- pattern for schema name- Returns:
- a
ResultSetvalue - Throws:
SqlException- if a database error occurs- See Also:
-
getClientInfoProperties
Returns a list of the client info properties supported by the driver. The result set contains the following columns:- NAME String=> The name of the client info property.
- MAX_LEN int=> The maximum length of the value for the property.
- DEFAULT_VALUE String=> The default value of the property.
- DESCRIPTION String=> A description of the property.
The
ResultSetis sorted by the NAME column.- Specified by:
getClientInfoPropertiesin interfaceDatabaseMetaData- Returns:
- A
ResultSetobject; each row is a supported client info property - Throws:
SQLException- if an error occurs
-
getClientInfoPropertiesX
Untraced version ofgetClientInfoProperties(). Returns an emptyResultSetwith the correct column names.- Returns:
- a
ResultSetvalue - Throws:
SqlException- if a database error occurs- See Also:
-
getRowIdLifetime
Indicates whether or not this data source supports the SQLROWIDtype. Since Derby does not support theROWIDtype, returnROWID_UNSUPPORTED.- Specified by:
getRowIdLifetimein interfaceDatabaseMetaData- Returns:
ROWID_UNSUPPORTED- Throws:
SQLException- if a database access error occurs
-
isWrapperFor
Returns false unlessinterfacesis implemented- Specified by:
isWrapperForin interfaceWrapper- Parameters:
interfaces- a Class defining an interface.- Returns:
- true if this implements the interface or directly or indirectly wraps an object that does.
- Throws:
SQLException- if an error occurs while determining whether this is a wrapper for an object with the given interface.
-
unwrap
Returnsthisif this class implements the interface- Specified by:
unwrapin interfaceWrapper- Parameters:
interfaces- a Class defining an interface- Returns:
- an object that implements the interface
- Throws:
SQLException- if no object if found that implements the interface
-
generatedKeyAlwaysReturned
public boolean generatedKeyAlwaysReturned()See DatabaseMetaData javadoc- Specified by:
generatedKeyAlwaysReturnedin interfaceDatabaseMetaData
-
getPseudoColumns
public ResultSet getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException - Specified by:
getPseudoColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
getPseudoColumnsX
- Throws:
SqlException
-
getMaxLogicalLobSize
public long getMaxLogicalLobSize()See DatabaseMetaData javadoc- Specified by:
getMaxLogicalLobSizein interfaceDatabaseMetaData
-
supportsRefCursors
public boolean supportsRefCursors()Derby does not support the Types.REF_CURSOR type.- Specified by:
supportsRefCursorsin interfaceDatabaseMetaData
-
prepareMetaDataQuery
- Throws:
SqlException
-
checkForClosedConnection
A "public" version of checkForClosedConnection() that throws SQLException instead of SqlException. In particular this is used by all the DatabaseMetadata methods- Throws:
SQLException
-
checkForClosedConnectionX
- Throws:
SqlException
-
checkServerJdbcVersionX
Checks whether the server supports a JDBC version. If the server does not support the JDBC version, an exception is thrown.- Parameters:
method- name of the method for which support is needed on the server (used in exception message)major- minimum JDBC major versionminor- minimum JDBC minor version if major version matches- Throws:
SqlException- if the server does not support the specified JDBC version
-