类 ExtractedDatabaseMetaDataImpl
- java.lang.Object
-
- org.hibernate.engine.jdbc.env.internal.ExtractedDatabaseMetaDataImpl
-
- 所有已实现的接口:
ExtractedDatabaseMetaData
public class ExtractedDatabaseMetaDataImpl extends Object implements ExtractedDatabaseMetaData
Standard implementation of ExtractedDatabaseMetaData- 作者:
- Steve Ebersole
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classExtractedDatabaseMetaDataImpl.Builder
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.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?
-
-
-
方法详细资料
-
supportsRefCursors
public boolean supportsRefCursors()
从接口复制的说明:ExtractedDatabaseMetaDataDoes the driver report supporting REF_CURSORs?- 指定者:
supportsRefCursors在接口中ExtractedDatabaseMetaData- 返回:
trueindicates the driver reported true;falseindicates the driver reported false or that the driver could not be asked.
-
getJdbcEnvironment
public JdbcEnvironment getJdbcEnvironment()
从接口复制的说明:ExtractedDatabaseMetaDataObtain the JDBC Environment from which this metadata came.- 指定者:
getJdbcEnvironment在接口中ExtractedDatabaseMetaData- 返回:
- The JDBC environment
-
supportsNamedParameters
public boolean supportsNamedParameters()
从接口复制的说明:ExtractedDatabaseMetaDataDoes the driver report supporting named parameters?- 指定者:
supportsNamedParameters在接口中ExtractedDatabaseMetaData- 返回:
trueindicates the driver reported true;falseindicates the driver reported false or that the driver could not be asked.
-
supportsScrollableResults
public boolean supportsScrollableResults()
从接口复制的说明:ExtractedDatabaseMetaDataDid the driver report to supporting scrollable result sets?- 指定者:
supportsScrollableResults在接口中ExtractedDatabaseMetaData- 返回:
- True if the driver reported to support
ResultSet.TYPE_SCROLL_INSENSITIVE. - 另请参阅:
DatabaseMetaData.supportsResultSetType(int)
-
supportsGetGeneratedKeys
public boolean supportsGetGeneratedKeys()
从接口复制的说明:ExtractedDatabaseMetaDataDid the driver report to supporting retrieval of generated keys?- 指定者:
supportsGetGeneratedKeys在接口中ExtractedDatabaseMetaData- 返回:
- True if the if the driver reported to support calls to
Statement.getGeneratedKeys() - 另请参阅:
DatabaseMetaData.supportsGetGeneratedKeys()
-
supportsBatchUpdates
public boolean supportsBatchUpdates()
从接口复制的说明:ExtractedDatabaseMetaDataDid the driver report to supporting batched updates?- 指定者:
supportsBatchUpdates在接口中ExtractedDatabaseMetaData- 返回:
- True if the driver supports batched updates
- 另请参阅:
DatabaseMetaData.supportsBatchUpdates()
-
supportsDataDefinitionInTransaction
public boolean supportsDataDefinitionInTransaction()
从接口复制的说明:ExtractedDatabaseMetaDataDid the driver report to support performing DDL within transactions?- 指定者:
supportsDataDefinitionInTransaction在接口中ExtractedDatabaseMetaData- 返回:
- True if the drivers supports DDL statements within transactions.
- 另请参阅:
DatabaseMetaData.dataDefinitionIgnoredInTransactions()
-
doesDataDefinitionCauseTransactionCommit
public boolean doesDataDefinitionCauseTransactionCommit()
从接口复制的说明:ExtractedDatabaseMetaDataDid the driver report to DDL statements performed within a transaction performing an implicit commit of the transaction.- 指定者:
doesDataDefinitionCauseTransactionCommit在接口中ExtractedDatabaseMetaData- 返回:
- True if the driver/database performs an implicit commit of transaction when DDL statement is performed
- 另请参阅:
DatabaseMetaData.dataDefinitionCausesTransactionCommit()
-
getExtraKeywords
public Set<String> getExtraKeywords()
从接口复制的说明:ExtractedDatabaseMetaDataGet the list of extra keywords (beyond standard SQL92 keywords) reported by the driver.- 指定者:
getExtraKeywords在接口中ExtractedDatabaseMetaData- 返回:
- The extra keywords used by this database.
- 另请参阅:
DatabaseMetaData.getSQLKeywords()
-
getSqlStateType
public SQLStateType getSqlStateType()
从接口复制的说明:ExtractedDatabaseMetaDataRetrieve the type of codes the driver says it uses forSQLState. They might follow either the X/Open standard or the SQL92 standard.- 指定者:
getSqlStateType在接口中ExtractedDatabaseMetaData- 返回:
- The SQLState strategy reportedly used by this driver/database.
- 另请参阅:
DatabaseMetaData.getSQLStateType()
-
doesLobLocatorUpdateCopy
public boolean doesLobLocatorUpdateCopy()
从接口复制的说明:ExtractedDatabaseMetaDataDid the driver report that updates to a LOB locator affect a copy of the LOB?- 指定者:
doesLobLocatorUpdateCopy在接口中ExtractedDatabaseMetaData- 返回:
- True if updates to the state of a LOB locator update only a copy.
- 另请参阅:
DatabaseMetaData.locatorsUpdateCopy()
-
getConnectionCatalogName
public String getConnectionCatalogName()
从接口复制的说明:ExtractedDatabaseMetaDataRetrieve the name of the catalog in effect when we connected to the database.- 指定者:
getConnectionCatalogName在接口中ExtractedDatabaseMetaData- 返回:
- The catalog name
-
getConnectionSchemaName
public String getConnectionSchemaName()
从接口复制的说明:ExtractedDatabaseMetaDataRetrieve the name of the schema in effect when we connected to the database.- 指定者:
getConnectionSchemaName在接口中ExtractedDatabaseMetaData- 返回:
- The schema name
-
getTypeInfoSet
public LinkedHashSet<TypeInfo> getTypeInfoSet()
从接口复制的说明:ExtractedDatabaseMetaDataSet of type info reported by the driver.- 指定者:
getTypeInfoSet在接口中ExtractedDatabaseMetaData- 返回:
- The type information obtained from the driver.
- 另请参阅:
DatabaseMetaData.getTypeInfo()
-
getSequenceInformationList
public List<SequenceInformation> getSequenceInformationList()
从接口复制的说明:ExtractedDatabaseMetaDataRetrieve the list ofSequenceInformationobjects which describe the underlying database sequences.- 指定者:
getSequenceInformationList在接口中ExtractedDatabaseMetaData- 返回:
SequenceInformationobjects.
-
-