接口 ExtractedDatabaseMetaData
-
- 所有已知实现类:
ExtractedDatabaseMetaDataImpl
public interface ExtractedDatabaseMetaDataInformation extracted fromDatabaseMetaDataregarding what the JDBC driver reports as being supported or not. ObviouslyDatabaseMetaDatareports many things, these are a few in which we have particular interest.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 booleandoesDataDefinitionCauseTransactionCommit()Did the driver report to DDL statements performed within a transaction performing an implicit commit of the transaction.booleandoesLobLocatorUpdateCopy()Did the driver report that updates to a LOB locator affect a copy of the LOB?StringgetConnectionCatalogName()Retrieve the name of the catalog in effect when we connected to the database.StringgetConnectionSchemaName()Retrieve the name of the schema in effect when we connected to the database.Set<String>getExtraKeywords()Get the list of extra keywords (beyond standard SQL92 keywords) reported by the driver.JdbcEnvironmentgetJdbcEnvironment()Obtain the JDBC Environment from which this metadata came.default List<SequenceInformation>getSequenceInformationList()Retrieve the list ofSequenceInformationobjects which describe the underlying database sequences.SQLStateTypegetSqlStateType()Retrieve the type of codes the driver says it uses forSQLState.LinkedHashSet<TypeInfo>getTypeInfoSet()Set of type info reported by the driver.booleansupportsBatchUpdates()Did the driver report to supporting batched updates?booleansupportsDataDefinitionInTransaction()Did the driver report to support performing DDL within transactions?booleansupportsGetGeneratedKeys()Did the driver report to supporting retrieval of generated keys?booleansupportsNamedParameters()Does the driver report supporting named parameters?booleansupportsRefCursors()Does the driver report supporting REF_CURSORs?booleansupportsScrollableResults()Did the driver report to supporting scrollable result sets?
-
-
-
方法详细资料
-
getJdbcEnvironment
JdbcEnvironment getJdbcEnvironment()
Obtain the JDBC Environment from which this metadata came.- 返回:
- The JDBC environment
-
getConnectionCatalogName
String getConnectionCatalogName()
Retrieve the name of the catalog in effect when we connected to the database.- 返回:
- The catalog name
-
getConnectionSchemaName
String getConnectionSchemaName()
Retrieve the name of the schema in effect when we connected to the database.- 返回:
- The schema name
-
getTypeInfoSet
LinkedHashSet<TypeInfo> getTypeInfoSet()
Set of type info reported by the driver.- 返回:
- The type information obtained from the driver.
- 另请参阅:
DatabaseMetaData.getTypeInfo()
-
getExtraKeywords
Set<String> getExtraKeywords()
Get the list of extra keywords (beyond standard SQL92 keywords) reported by the driver.- 返回:
- The extra keywords used by this database.
- 另请参阅:
DatabaseMetaData.getSQLKeywords()
-
supportsNamedParameters
boolean supportsNamedParameters()
Does the driver report supporting named parameters?- 返回:
trueindicates the driver reported true;falseindicates the driver reported false or that the driver could not be asked.
-
supportsRefCursors
boolean supportsRefCursors()
Does the driver report supporting REF_CURSORs?- 返回:
trueindicates the driver reported true;falseindicates the driver reported false or that the driver could not be asked.
-
supportsScrollableResults
boolean supportsScrollableResults()
Did the driver report to supporting scrollable result sets?- 返回:
- True if the driver reported to support
ResultSet.TYPE_SCROLL_INSENSITIVE. - 另请参阅:
DatabaseMetaData.supportsResultSetType(int)
-
supportsGetGeneratedKeys
boolean supportsGetGeneratedKeys()
Did the driver report to supporting retrieval of generated keys?- 返回:
- True if the if the driver reported to support calls to
Statement.getGeneratedKeys() - 另请参阅:
DatabaseMetaData.supportsGetGeneratedKeys()
-
supportsBatchUpdates
boolean supportsBatchUpdates()
Did the driver report to supporting batched updates?- 返回:
- True if the driver supports batched updates
- 另请参阅:
DatabaseMetaData.supportsBatchUpdates()
-
supportsDataDefinitionInTransaction
boolean supportsDataDefinitionInTransaction()
Did the driver report to support performing DDL within transactions?- 返回:
- True if the drivers supports DDL statements within transactions.
- 另请参阅:
DatabaseMetaData.dataDefinitionIgnoredInTransactions()
-
doesDataDefinitionCauseTransactionCommit
boolean doesDataDefinitionCauseTransactionCommit()
Did the driver report to DDL statements performed within a transaction performing an implicit commit of the transaction.- 返回:
- True if the driver/database performs an implicit commit of transaction when DDL statement is performed
- 另请参阅:
DatabaseMetaData.dataDefinitionCausesTransactionCommit()
-
getSqlStateType
SQLStateType getSqlStateType()
Retrieve the type of codes the driver says it uses forSQLState. They might follow either the X/Open standard or the SQL92 standard.- 返回:
- The SQLState strategy reportedly used by this driver/database.
- 另请参阅:
DatabaseMetaData.getSQLStateType()
-
doesLobLocatorUpdateCopy
boolean doesLobLocatorUpdateCopy()
Did the driver report that updates to a LOB locator affect a copy of the LOB?- 返回:
- True if updates to the state of a LOB locator update only a copy.
- 另请参阅:
DatabaseMetaData.locatorsUpdateCopy()
-
getSequenceInformationList
default List<SequenceInformation> getSequenceInformationList()
Retrieve the list ofSequenceInformationobjects which describe the underlying database sequences.- 返回:
SequenceInformationobjects.
-
-