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 | Interface and Description |
---|---|
static class |
ExtractedDatabaseMetaData.SQLStateType |
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.
|
ExtractedDatabaseMetaData.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 |
supportsScrollableResults()
Did the driver report to supporting scrollable result sets?
|
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()
Set<String> getExtraKeywords()
DatabaseMetaData.getSQLKeywords()
ExtractedDatabaseMetaData.SQLStateType getSqlStateType()
SQLState
. They might follow either
the X/Open standard or the SQL92 standard.DatabaseMetaData.getSQLStateType()
boolean doesLobLocatorUpdateCopy()
DatabaseMetaData.locatorsUpdateCopy()
String getConnectionSchemaName()
String getConnectionCatalogName()
LinkedHashSet<TypeInfo> getTypeInfoSet()
DatabaseMetaData.getTypeInfo()
Copyright © 2018 JBoss by Red Hat. All rights reserved.