Module com.microsoft.sqlserver.jdbc
Package com.microsoft.sqlserver.jdbc
Class SQLServerDatabaseMetaData
java.lang.Object
com.microsoft.sqlserver.jdbc.SQLServerDatabaseMetaData
- All Implemented Interfaces:
Serializable,DatabaseMetaData,Wrapper
public final class SQLServerDatabaseMetaData
extends Object
implements DatabaseMetaData, Serializable
Provides the JDBC database meta data.
The API javadoc for JDBC API methods that this class implements are not repeated here. Please see Sun's JDBC API
interfaces javadoc for those details.
- See Also:
-
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 -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a SQLServerDatabaseMetaData database meta data -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleandeletesAreDetected(int type) booleanbooleangetAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) getColumnPrivileges(String catalog, String schema, String table, String col) getColumns(String catalog, String schema, String table, String col) intReturns the database compatibility level setting for the current database.intintintintintgetExportedKeys(String cat, String schema, String table) getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) getFunctions(String catalog, String schemaPattern, String functionNamePattern) getImportedKeys(String cat, String schema, String table) getIndexInfo(String cat, String schema, String table, boolean unique, boolean approximate) intintintintintintintintintintintintintintlongintintintintintintintintgetPrimaryKeys(String cat, String schema, String table) getProcedureColumns(String catalog, String schema, String proc, String col) getProcedures(String catalog, String schema, String proc) getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) intgetSchemas(String catalog, String schemaPattern) intgetSuperTables(String catalog, String schemaPattern, String tableNamePattern) getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) getTablePrivileges(String catalog, String schema, String table) getURL()getVersionColumns(String catalog, String schema, String table) booleaninsertsAreDetected(int type) booleanbooleanbooleanisWrapperFor(Class<?> iface) booleanbooleanbooleanbooleanbooleanbooleanbooleanothersDeletesAreVisible(int type) booleanothersInsertsAreVisible(int type) booleanothersUpdatesAreVisible(int type) booleanownDeletesAreVisible(int type) booleanownInsertsAreVisible(int type) booleanownUpdatesAreVisible(int type) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleansupportsConvert(int fromType, int toType) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleansupportsResultSetConcurrency(int type, int concurrency) booleansupportsResultSetHoldability(int holdability) booleansupportsResultSetType(int type) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleansupportsTransactionIsolationLevel(int level) booleanbooleanbooleanfinal StringtoString()Provides a helper function to provide an ID string suitable for tracing.<T> TbooleanupdatesAreDetected(int type) booleanboolean
-
Constructor Details
-
SQLServerDatabaseMetaData
Constructs a SQLServerDatabaseMetaData database meta data- Parameters:
con- the connection
-
-
Method Details
-
toString
Provides a helper function to provide an ID string suitable for tracing. -
isWrapperFor
- Specified by:
isWrapperForin interfaceWrapper- Throws:
SQLException
-
unwrap
- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
allProceduresAreCallable
- Specified by:
allProceduresAreCallablein interfaceDatabaseMetaData- Throws:
SQLServerException
-
allTablesAreSelectable
- Specified by:
allTablesAreSelectablein interfaceDatabaseMetaData- Throws:
SQLServerException
-
autoCommitFailureClosesAllResultSets
- Specified by:
autoCommitFailureClosesAllResultSetsin interfaceDatabaseMetaData- Throws:
SQLException
-
dataDefinitionCausesTransactionCommit
- Specified by:
dataDefinitionCausesTransactionCommitin interfaceDatabaseMetaData- Throws:
SQLServerException
-
dataDefinitionIgnoredInTransactions
- Specified by:
dataDefinitionIgnoredInTransactionsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
doesMaxRowSizeIncludeBlobs
- Specified by:
doesMaxRowSizeIncludeBlobsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
generatedKeyAlwaysReturned
- Specified by:
generatedKeyAlwaysReturnedin interfaceDatabaseMetaData- Throws:
SQLException
-
getMaxLogicalLobSize
- Specified by:
getMaxLogicalLobSizein interfaceDatabaseMetaData- Throws:
SQLException
-
supportsRefCursors
- Specified by:
supportsRefCursorsin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsSharding
- Specified by:
supportsShardingin interfaceDatabaseMetaData- Throws:
SQLException
-
getCatalogs
- Specified by:
getCatalogsin interfaceDatabaseMetaData- Throws:
SQLExceptionSQLTimeoutException
-
getCatalogSeparator
- Specified by:
getCatalogSeparatorin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getCatalogTerm
- Specified by:
getCatalogTermin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getColumnPrivileges
public ResultSet getColumnPrivileges(String catalog, String schema, String table, String col) throws SQLServerException, SQLTimeoutException - Specified by:
getColumnPrivilegesin interfaceDatabaseMetaData- Throws:
SQLServerExceptionSQLTimeoutException
-
getTables
public ResultSet getTables(String catalog, String schema, String table, String[] types) throws SQLServerException, SQLTimeoutException - Specified by:
getTablesin interfaceDatabaseMetaData- Throws:
SQLServerExceptionSQLTimeoutException
-
getColumns
public ResultSet getColumns(String catalog, String schema, String table, String col) throws SQLException - Specified by:
getColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
getFunctions
public ResultSet getFunctions(String catalog, String schemaPattern, String functionNamePattern) throws SQLException - Specified by:
getFunctionsin interfaceDatabaseMetaData- Throws:
SQLException
-
getFunctionColumns
public ResultSet getFunctionColumns(String catalog, String schemaPattern, String functionNamePattern, String columnNamePattern) throws SQLException - Specified by:
getFunctionColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
getClientInfoProperties
- Specified by:
getClientInfoPropertiesin interfaceDatabaseMetaData- Throws:
SQLException
-
getBestRowIdentifier
public ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLServerException, SQLTimeoutException - Specified by:
getBestRowIdentifierin interfaceDatabaseMetaData- Throws:
SQLServerExceptionSQLTimeoutException
-
getCrossReference
public ResultSet getCrossReference(String cat1, String schem1, String tab1, String cat2, String schem2, String tab2) throws SQLException, SQLTimeoutException - Specified by:
getCrossReferencein interfaceDatabaseMetaData- Throws:
SQLExceptionSQLTimeoutException
-
getDatabaseProductName
- Specified by:
getDatabaseProductNamein interfaceDatabaseMetaData- Throws:
SQLServerException
-
getDatabaseProductVersion
- Specified by:
getDatabaseProductVersionin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getDefaultTransactionIsolation
- Specified by:
getDefaultTransactionIsolationin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getDriverMajorVersion
public int getDriverMajorVersion()- Specified by:
getDriverMajorVersionin interfaceDatabaseMetaData
-
getDriverMinorVersion
public int getDriverMinorVersion()- Specified by:
getDriverMinorVersionin interfaceDatabaseMetaData
-
getDriverName
- Specified by:
getDriverNamein interfaceDatabaseMetaData- Throws:
SQLServerException
-
getDriverVersion
- Specified by:
getDriverVersionin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getExportedKeys
public ResultSet getExportedKeys(String cat, String schema, String table) throws SQLException, SQLTimeoutException - Specified by:
getExportedKeysin interfaceDatabaseMetaData- Throws:
SQLExceptionSQLTimeoutException
-
getExtraNameCharacters
- Specified by:
getExtraNameCharactersin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getIdentifierQuoteString
- Specified by:
getIdentifierQuoteStringin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getImportedKeys
public ResultSet getImportedKeys(String cat, String schema, String table) throws SQLException, SQLTimeoutException - Specified by:
getImportedKeysin interfaceDatabaseMetaData- Throws:
SQLExceptionSQLTimeoutException
-
getIndexInfo
public ResultSet getIndexInfo(String cat, String schema, String table, boolean unique, boolean approximate) throws SQLServerException, SQLTimeoutException - Specified by:
getIndexInfoin interfaceDatabaseMetaData- Throws:
SQLServerExceptionSQLTimeoutException
-
getMaxBinaryLiteralLength
- Specified by:
getMaxBinaryLiteralLengthin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxCatalogNameLength
- Specified by:
getMaxCatalogNameLengthin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxCharLiteralLength
- Specified by:
getMaxCharLiteralLengthin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxColumnNameLength
- Specified by:
getMaxColumnNameLengthin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxColumnsInGroupBy
- Specified by:
getMaxColumnsInGroupByin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxColumnsInIndex
- Specified by:
getMaxColumnsInIndexin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxColumnsInOrderBy
- Specified by:
getMaxColumnsInOrderByin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxColumnsInSelect
- Specified by:
getMaxColumnsInSelectin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxColumnsInTable
- Specified by:
getMaxColumnsInTablein interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxConnections
- Specified by:
getMaxConnectionsin interfaceDatabaseMetaData- Throws:
SQLExceptionSQLTimeoutException
-
getMaxCursorNameLength
- Specified by:
getMaxCursorNameLengthin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxIndexLength
- Specified by:
getMaxIndexLengthin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxProcedureNameLength
- Specified by:
getMaxProcedureNameLengthin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxRowSize
- Specified by:
getMaxRowSizein interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxSchemaNameLength
- Specified by:
getMaxSchemaNameLengthin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxStatementLength
- Specified by:
getMaxStatementLengthin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxStatements
- Specified by:
getMaxStatementsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxTableNameLength
- Specified by:
getMaxTableNameLengthin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxTablesInSelect
- Specified by:
getMaxTablesInSelectin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getMaxUserNameLength
- Specified by:
getMaxUserNameLengthin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getNumericFunctions
- Specified by:
getNumericFunctionsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getPrimaryKeys
public ResultSet getPrimaryKeys(String cat, String schema, String table) throws SQLServerException, SQLTimeoutException - Specified by:
getPrimaryKeysin interfaceDatabaseMetaData- Throws:
SQLServerExceptionSQLTimeoutException
-
getProcedureColumns
public ResultSet getProcedureColumns(String catalog, String schema, String proc, String col) throws SQLServerException, SQLTimeoutException - Specified by:
getProcedureColumnsin interfaceDatabaseMetaData- Throws:
SQLServerExceptionSQLTimeoutException
-
getProcedures
public ResultSet getProcedures(String catalog, String schema, String proc) throws SQLServerException, SQLTimeoutException - Specified by:
getProceduresin interfaceDatabaseMetaData- Throws:
SQLServerExceptionSQLTimeoutException
-
getProcedureTerm
- Specified by:
getProcedureTermin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getPseudoColumns
public ResultSet getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException - Specified by:
getPseudoColumnsin interfaceDatabaseMetaData- Throws:
SQLException
-
getSchemas
- Specified by:
getSchemasin interfaceDatabaseMetaData- Throws:
SQLExceptionSQLTimeoutException
-
getSchemas
- Specified by:
getSchemasin interfaceDatabaseMetaData- Throws:
SQLException
-
getSchemaTerm
- Specified by:
getSchemaTermin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getSearchStringEscape
- Specified by:
getSearchStringEscapein interfaceDatabaseMetaData- Throws:
SQLServerException
-
getSQLKeywords
- Specified by:
getSQLKeywordsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getStringFunctions
- Specified by:
getStringFunctionsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getSystemFunctions
- Specified by:
getSystemFunctionsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getTablePrivileges
public ResultSet getTablePrivileges(String catalog, String schema, String table) throws SQLServerException, SQLTimeoutException - Specified by:
getTablePrivilegesin interfaceDatabaseMetaData- Throws:
SQLServerExceptionSQLTimeoutException
-
getTableTypes
- Specified by:
getTableTypesin interfaceDatabaseMetaData- Throws:
SQLExceptionSQLTimeoutException
-
getTimeDateFunctions
- Specified by:
getTimeDateFunctionsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getTypeInfo
- Specified by:
getTypeInfoin interfaceDatabaseMetaData- Throws:
SQLExceptionSQLTimeoutException
-
getURL
- Specified by:
getURLin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getUserName
- Specified by:
getUserNamein interfaceDatabaseMetaData- Throws:
SQLServerExceptionSQLTimeoutException
-
getVersionColumns
public ResultSet getVersionColumns(String catalog, String schema, String table) throws SQLServerException, SQLTimeoutException - Specified by:
getVersionColumnsin interfaceDatabaseMetaData- Throws:
SQLServerExceptionSQLTimeoutException
-
isCatalogAtStart
- Specified by:
isCatalogAtStartin interfaceDatabaseMetaData- Throws:
SQLServerException
-
isReadOnly
- Specified by:
isReadOnlyin interfaceDatabaseMetaData- Throws:
SQLServerException
-
nullPlusNonNullIsNull
- Specified by:
nullPlusNonNullIsNullin interfaceDatabaseMetaData- Throws:
SQLServerException
-
nullsAreSortedAtEnd
- Specified by:
nullsAreSortedAtEndin interfaceDatabaseMetaData- Throws:
SQLServerException
-
nullsAreSortedAtStart
- Specified by:
nullsAreSortedAtStartin interfaceDatabaseMetaData- Throws:
SQLServerException
-
nullsAreSortedHigh
- Specified by:
nullsAreSortedHighin interfaceDatabaseMetaData- Throws:
SQLServerException
-
nullsAreSortedLow
- Specified by:
nullsAreSortedLowin interfaceDatabaseMetaData- Throws:
SQLServerException
-
storesLowerCaseIdentifiers
- Specified by:
storesLowerCaseIdentifiersin interfaceDatabaseMetaData- Throws:
SQLServerException
-
storesLowerCaseQuotedIdentifiers
- Specified by:
storesLowerCaseQuotedIdentifiersin interfaceDatabaseMetaData- Throws:
SQLServerException
-
storesMixedCaseIdentifiers
- Specified by:
storesMixedCaseIdentifiersin interfaceDatabaseMetaData- Throws:
SQLServerException
-
storesMixedCaseQuotedIdentifiers
- Specified by:
storesMixedCaseQuotedIdentifiersin interfaceDatabaseMetaData- Throws:
SQLServerException
-
storesUpperCaseIdentifiers
- Specified by:
storesUpperCaseIdentifiersin interfaceDatabaseMetaData- Throws:
SQLServerException
-
storesUpperCaseQuotedIdentifiers
- Specified by:
storesUpperCaseQuotedIdentifiersin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsAlterTableWithAddColumn
- Specified by:
supportsAlterTableWithAddColumnin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsAlterTableWithDropColumn
- Specified by:
supportsAlterTableWithDropColumnin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsANSI92EntryLevelSQL
- Specified by:
supportsANSI92EntryLevelSQLin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsANSI92FullSQL
- Specified by:
supportsANSI92FullSQLin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsANSI92IntermediateSQL
- Specified by:
supportsANSI92IntermediateSQLin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsCatalogsInDataManipulation
- Specified by:
supportsCatalogsInDataManipulationin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsCatalogsInIndexDefinitions
- Specified by:
supportsCatalogsInIndexDefinitionsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsCatalogsInPrivilegeDefinitions
- Specified by:
supportsCatalogsInPrivilegeDefinitionsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsCatalogsInProcedureCalls
- Specified by:
supportsCatalogsInProcedureCallsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsCatalogsInTableDefinitions
- Specified by:
supportsCatalogsInTableDefinitionsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsColumnAliasing
- Specified by:
supportsColumnAliasingin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsConvert
- Specified by:
supportsConvertin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsConvert
- Specified by:
supportsConvertin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsCoreSQLGrammar
- Specified by:
supportsCoreSQLGrammarin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsDataDefinitionAndDataManipulationTransactions
- Specified by:
supportsDataDefinitionAndDataManipulationTransactionsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsDataManipulationTransactionsOnly
- Specified by:
supportsDataManipulationTransactionsOnlyin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsDifferentTableCorrelationNames
- Specified by:
supportsDifferentTableCorrelationNamesin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsExpressionsInOrderBy
- Specified by:
supportsExpressionsInOrderByin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsExtendedSQLGrammar
- Specified by:
supportsExtendedSQLGrammarin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsFullOuterJoins
- Specified by:
supportsFullOuterJoinsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsGroupBy
- Specified by:
supportsGroupByin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsGroupByBeyondSelect
- Specified by:
supportsGroupByBeyondSelectin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsIntegrityEnhancementFacility
- Specified by:
supportsIntegrityEnhancementFacilityin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsLikeEscapeClause
- Specified by:
supportsLikeEscapeClausein interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsLimitedOuterJoins
- Specified by:
supportsLimitedOuterJoinsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsMinimumSQLGrammar
- Specified by:
supportsMinimumSQLGrammarin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsMixedCaseIdentifiers
- Specified by:
supportsMixedCaseIdentifiersin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsMixedCaseQuotedIdentifiers
- Specified by:
supportsMixedCaseQuotedIdentifiersin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsMultipleResultSets
- Specified by:
supportsMultipleResultSetsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsMultipleTransactions
- Specified by:
supportsMultipleTransactionsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsNonNullableColumns
- Specified by:
supportsNonNullableColumnsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsOpenCursorsAcrossCommit
- Specified by:
supportsOpenCursorsAcrossCommitin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsOpenCursorsAcrossRollback
- Specified by:
supportsOpenCursorsAcrossRollbackin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsOpenStatementsAcrossCommit
- Specified by:
supportsOpenStatementsAcrossCommitin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsOpenStatementsAcrossRollback
- Specified by:
supportsOpenStatementsAcrossRollbackin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsOuterJoins
- Specified by:
supportsOuterJoinsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsPositionedDelete
- Specified by:
supportsPositionedDeletein interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsPositionedUpdate
- Specified by:
supportsPositionedUpdatein interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsSchemasInDataManipulation
- Specified by:
supportsSchemasInDataManipulationin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsSchemasInIndexDefinitions
- Specified by:
supportsSchemasInIndexDefinitionsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsSchemasInPrivilegeDefinitions
- Specified by:
supportsSchemasInPrivilegeDefinitionsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsSchemasInProcedureCalls
- Specified by:
supportsSchemasInProcedureCallsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsSchemasInTableDefinitions
- Specified by:
supportsSchemasInTableDefinitionsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsSelectForUpdate
- Specified by:
supportsSelectForUpdatein interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsStoredProcedures
- Specified by:
supportsStoredProceduresin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsSubqueriesInComparisons
- Specified by:
supportsSubqueriesInComparisonsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsSubqueriesInExists
- Specified by:
supportsSubqueriesInExistsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsSubqueriesInIns
- Specified by:
supportsSubqueriesInInsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsSubqueriesInQuantifieds
- Specified by:
supportsSubqueriesInQuantifiedsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsTableCorrelationNames
- Specified by:
supportsTableCorrelationNamesin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsTransactionIsolationLevel
- Specified by:
supportsTransactionIsolationLevelin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsTransactions
- Specified by:
supportsTransactionsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsUnion
- Specified by:
supportsUnionin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsUnionAll
- Specified by:
supportsUnionAllin interfaceDatabaseMetaData- Throws:
SQLServerException
-
usesLocalFilePerTable
- Specified by:
usesLocalFilePerTablein interfaceDatabaseMetaData- Throws:
SQLServerException
-
usesLocalFiles
- Specified by:
usesLocalFilesin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsResultSetType
- Specified by:
supportsResultSetTypein interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsResultSetConcurrency
- Specified by:
supportsResultSetConcurrencyin interfaceDatabaseMetaData- Throws:
SQLServerException
-
ownUpdatesAreVisible
- Specified by:
ownUpdatesAreVisiblein interfaceDatabaseMetaData- Throws:
SQLServerException
-
ownDeletesAreVisible
- Specified by:
ownDeletesAreVisiblein interfaceDatabaseMetaData- Throws:
SQLServerException
-
ownInsertsAreVisible
- Specified by:
ownInsertsAreVisiblein interfaceDatabaseMetaData- Throws:
SQLServerException
-
othersUpdatesAreVisible
- Specified by:
othersUpdatesAreVisiblein interfaceDatabaseMetaData- Throws:
SQLServerException
-
othersDeletesAreVisible
- Specified by:
othersDeletesAreVisiblein interfaceDatabaseMetaData- Throws:
SQLServerException
-
othersInsertsAreVisible
- Specified by:
othersInsertsAreVisiblein interfaceDatabaseMetaData- Throws:
SQLServerException
-
updatesAreDetected
- Specified by:
updatesAreDetectedin interfaceDatabaseMetaData- Throws:
SQLServerException
-
deletesAreDetected
- Specified by:
deletesAreDetectedin interfaceDatabaseMetaData- Throws:
SQLServerException
-
insertsAreDetected
- Specified by:
insertsAreDetectedin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsBatchUpdates
- Specified by:
supportsBatchUpdatesin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getUDTs
public ResultSet getUDTs(String catalog, String schemaPattern, String typeNamePattern, int[] types) throws SQLException, SQLTimeoutException - Specified by:
getUDTsin interfaceDatabaseMetaData- Throws:
SQLExceptionSQLTimeoutException
-
getConnection
- Specified by:
getConnectionin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getSQLStateType
- Specified by:
getSQLStateTypein interfaceDatabaseMetaData- Throws:
SQLServerException
-
getDatabaseMajorVersion
- Specified by:
getDatabaseMajorVersionin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getDatabaseMinorVersion
- Specified by:
getDatabaseMinorVersionin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getJDBCMajorVersion
- Specified by:
getJDBCMajorVersionin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getJDBCMinorVersion
- Specified by:
getJDBCMinorVersionin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getResultSetHoldability
- Specified by:
getResultSetHoldabilityin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getRowIdLifetime
- Specified by:
getRowIdLifetimein interfaceDatabaseMetaData- Throws:
SQLException
-
supportsResultSetHoldability
- Specified by:
supportsResultSetHoldabilityin interfaceDatabaseMetaData- Throws:
SQLServerException
-
getAttributes
public ResultSet getAttributes(String catalog, String schemaPattern, String typeNamePattern, String attributeNamePattern) throws SQLException, SQLTimeoutException - Specified by:
getAttributesin interfaceDatabaseMetaData- Throws:
SQLExceptionSQLTimeoutException
-
getSuperTables
public ResultSet getSuperTables(String catalog, String schemaPattern, String tableNamePattern) throws SQLException, SQLTimeoutException - Specified by:
getSuperTablesin interfaceDatabaseMetaData- Throws:
SQLExceptionSQLTimeoutException
-
getSuperTypes
public ResultSet getSuperTypes(String catalog, String schemaPattern, String typeNamePattern) throws SQLException, SQLTimeoutException - Specified by:
getSuperTypesin interfaceDatabaseMetaData- Throws:
SQLExceptionSQLTimeoutException
-
supportsGetGeneratedKeys
- Specified by:
supportsGetGeneratedKeysin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsMultipleOpenResults
- Specified by:
supportsMultipleOpenResultsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsNamedParameters
- Specified by:
supportsNamedParametersin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsSavepoints
- Specified by:
supportsSavepointsin interfaceDatabaseMetaData- Throws:
SQLServerException
-
supportsStatementPooling
- Specified by:
supportsStatementPoolingin interfaceDatabaseMetaData- Throws:
SQLException
-
supportsStoredFunctionsUsingCallSyntax
- Specified by:
supportsStoredFunctionsUsingCallSyntaxin interfaceDatabaseMetaData- Throws:
SQLException
-
locatorsUpdateCopy
- Specified by:
locatorsUpdateCopyin interfaceDatabaseMetaData- Throws:
SQLException
-
getDatabaseCompatibilityLevel
Returns the database compatibility level setting for the current database. This is useful if the database's compatibility level is lower than the engine version. In this case the database will only support SQL commands at its compatibility level, and not the wider set of commands accepted by the engine.- Returns:
- the database compatibility level value (from sys.databases table).
- Throws:
SQLException- if error getting compatability level
-