Interface ExtractedDatabaseMetaData
Raw JDBC driver and bootstrap-connection observations.
This contract records the defensively extracted DatabaseMetaData answers
and connection values. These observations are useful for diagnostics,
reporting, and integrations which explicitly need driver-reported state.
Use JdbcMetadata for Hibernate runtime decisions because its support
answers include Dialect metadata overrides and compatibility interpretation.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the driver reported that DDL causes an implicit transaction commit.The catalog in effect for the bootstrap connection.The schema in effect for the bootstrap connection.The database product name reported by the JDBC driver.The database product version reported by the JDBC driver.intThe default JDBC fetch size observed from the bootstrap connection.intThe default transaction isolation level reported by the driver.The JDBC driver name.The JDBC environment from which these observations were extracted.The normalized case strategy derived from the driver's quoted identifier storage reports.default List<SequenceInformation> Information describing the database sequences.The immutable lowercase SQL-keyword set reported by the JDBC driver.The SQL-state coding scheme reported by the JDBC driver.intThe bootstrap connection's transaction isolation level.The normalized case strategy derived from the driver's unquoted identifier storage reports.getUrl()The JDBC URL reported by the driver.booleanWhether a live JDBC metadata source was available when this snapshot was extracted.booleanWhether the driver reported support for JDBC batch updates.booleanWhether the driver reported support for named catalogs in DML.booleanWhether the driver reported that DDL is supported within transactions.booleanWhether the driver reported support for generated-key retrieval.booleanWhether the driver reported support for named callable parameters.booleanWhether the driver reported support for the standard JDBC REF_CURSOR API.booleanWhether the driver reported support for named schemas in DML.booleanWhether the driver reported support for scroll-insensitive result sets.
-
Method Details
-
getJdbcEnvironment
JdbcEnvironment getJdbcEnvironment()The JDBC environment from which these observations were extracted. -
isJdbcMetadataAccessible
boolean isJdbcMetadataAccessible()Whether a live JDBC metadata source was available when this snapshot was extracted. -
getDatabaseProductName
String getDatabaseProductName()The database product name reported by the JDBC driver. -
getDatabaseProductVersion
String getDatabaseProductVersion()The database product version reported by the JDBC driver. -
supportsSchemas
boolean supportsSchemas()Whether the driver reported support for named schemas in DML.
A
trueanswer may also represent a defensive fallback when the driver could not be asked. -
supportsCatalogs
boolean supportsCatalogs()Whether the driver reported support for named catalogs in DML.
A
trueanswer may also represent a defensive fallback when the driver could not be asked. -
getConnectionCatalogName
String getConnectionCatalogName()The catalog in effect for the bootstrap connection. -
getConnectionSchemaName
-
getUnquotedIdentifierCaseStrategy
IdentifierCaseStrategy getUnquotedIdentifierCaseStrategy()The normalized case strategy derived from the driver's unquoted identifier storage reports. -
getQuotedIdentifierCaseStrategy
IdentifierCaseStrategy getQuotedIdentifierCaseStrategy()The normalized case strategy derived from the driver's quoted identifier storage reports. -
getSqlKeywords
-
supportsNamedParameters
boolean supportsNamedParameters()Whether the driver reported support for named callable parameters.
A
falseanswer may also represent a defensive fallback when the driver could not be asked. UseJdbcMetadata.supportsNamedParameters()for an effective runtime decision.- See Also:
-
supportsRefCursors
boolean supportsRefCursors()Whether the driver reported support for the standard JDBC REF_CURSOR API.
A
falseanswer may also represent a defensive fallback when the driver could not be asked. UseJdbcMetadata.supportsRefCursors()for an effective runtime decision. -
supportsScrollableResults
boolean supportsScrollableResults()Whether the driver reported support for scroll-insensitive result sets.- See Also:
-
supportsGetGeneratedKeys
boolean supportsGetGeneratedKeys()Whether the driver reported support for generated-key retrieval.- See Also:
-
supportsBatchUpdates
boolean supportsBatchUpdates()Whether the driver reported support for JDBC batch updates.
A
trueanswer may also represent a defensive fallback when the driver could not be asked. UseJdbcMetadata.supportsBatchUpdates()for an effective runtime decision. -
supportsDataDefinitionInTransaction
boolean supportsDataDefinitionInTransaction()Whether the driver reported that DDL is supported within transactions. -
doesDataDefinitionCauseTransactionCommit
boolean doesDataDefinitionCauseTransactionCommit()Whether the driver reported that DDL causes an implicit transaction commit. -
getSqlStateType
SQLStateType getSqlStateType()The SQL-state coding scheme reported by the JDBC driver. -
getUrl
String getUrl()The JDBC URL reported by the driver. -
getDriver
String getDriver()The JDBC driver name. -
getTransactionIsolation
int getTransactionIsolation()The bootstrap connection's transaction isolation level. -
getDefaultTransactionIsolation
int getDefaultTransactionIsolation()The default transaction isolation level reported by the driver. -
getDefaultFetchSize
int getDefaultFetchSize()The default JDBC fetch size observed from the bootstrap connection. -
getSequenceInformationList
Information describing the database sequences.
-