public interface ExtractedDatabaseMetaData
DatabaseMetaData
regarding what the JDBC driver reports as
being supported or not. Obviously DatabaseMetaData
reports many things, these are a few in
which we have particular interest.Modifier and Type | Method and Description |
---|---|
boolean |
doesDataDefinitionCauseTransactionCommit()
Did the driver report to DDL statements performed within a transaction performing an implicit commit of the
transaction.
|
boolean |
doesLobLocatorUpdateCopy()
Did the driver report that updates to a LOB locator affect a copy of the LOB?
|
String |
getConnectionCatalogName()
Retrieve the name of the catalog in effect when we connected to the database.
|
String |
getConnectionSchemaName()
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.
|
JdbcEnvironment |
getJdbcEnvironment()
Obtain the JDBC Environment from which this metadata came.
|
default List<SequenceInformation> |
getSequenceInformationList()
Retrieve the list of
SequenceInformation objects which describe the underlying database sequences. |
SQLStateType |
getSqlStateType()
Retrieve the type of codes the driver says it uses for
SQLState . |
LinkedHashSet<TypeInfo> |
getTypeInfoSet()
Set of type info reported by the driver.
|
boolean |
supportsBatchUpdates()
Did the driver report to supporting batched updates?
|
boolean |
supportsDataDefinitionInTransaction()
Did the driver report to support performing DDL within transactions?
|
boolean |
supportsGetGeneratedKeys()
Did the driver report to supporting retrieval of generated keys?
|
boolean |
supportsNamedParameters()
Does the driver report supporting named parameters?
|
boolean |
supportsRefCursors()
Does the driver report supporting REF_CURSORs?
|
boolean |
supportsScrollableResults()
Did the driver report to supporting scrollable result sets?
|
JdbcEnvironment getJdbcEnvironment()
String getConnectionCatalogName()
String getConnectionSchemaName()
LinkedHashSet<TypeInfo> getTypeInfoSet()
DatabaseMetaData.getTypeInfo()
Set<String> getExtraKeywords()
DatabaseMetaData.getSQLKeywords()
boolean supportsNamedParameters()
true
indicates the driver reported true; false
indicates the driver reported false
or that the driver could not be asked.boolean supportsRefCursors()
true
indicates the driver reported true; false
indicates the driver reported false
or that the driver could not be asked.boolean supportsScrollableResults()
ResultSet.TYPE_SCROLL_INSENSITIVE
.DatabaseMetaData.supportsResultSetType(int)
boolean supportsGetGeneratedKeys()
Statement.getGeneratedKeys()
DatabaseMetaData.supportsGetGeneratedKeys()
boolean supportsBatchUpdates()
DatabaseMetaData.supportsBatchUpdates()
boolean supportsDataDefinitionInTransaction()
DatabaseMetaData.dataDefinitionIgnoredInTransactions()
boolean doesDataDefinitionCauseTransactionCommit()
DatabaseMetaData.dataDefinitionCausesTransactionCommit()
SQLStateType getSqlStateType()
SQLState
. They might follow either
the X/Open standard or the SQL92 standard.DatabaseMetaData.getSQLStateType()
boolean doesLobLocatorUpdateCopy()
DatabaseMetaData.locatorsUpdateCopy()
default List<SequenceInformation> getSequenceInformationList()
SequenceInformation
objects which describe the underlying database sequences.SequenceInformation
objects.Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.