Class ExtractedDatabaseMetaDataImpl
java.lang.Object
org.hibernate.engine.jdbc.env.internal.ExtractedDatabaseMetaDataImpl
- All Implemented Interfaces:
ExtractedDatabaseMetaData
Standard implementation of
ExtractedDatabaseMetaData-
Method Summary
Modifier and TypeMethodDescriptionbooleanDid the driver report to DDL statements performed within a transaction performing an implicit commit of the transaction.Retrieve the name of the catalog in effect when we connected to the database.Retrieve the name of the schema in effect when we connected to the database.The name of the database, according to the JDBC driver.The version of the database, according to the JDBC driver.intRetrieve the default JDBC fetch size.intRetrieve the default transaction isolation level.Retrieve the JDBC driver name.Obtain the JDBC Environment from which this metadata came.Retrieve the list ofSequenceInformationobjects which describe the underlying database sequences.Retrieve the type of codes the driver says it uses forSQLState.intRetrieve the transaction isolation level.getUrl()Retrieve the JDBC URL.booleanbooleanDid the driver report to supporting batched updates?booleanDoes this driver support named catalogs in DML?booleanDid the driver report to support performing DDL within transactions?booleanDid the driver report to supporting retrieval of generated keys?booleanDoes the driver report supporting named parameters?booleanDoes the driver report supportingTypes.REF_CURSOR?booleanDoes this driver support named schemas in DML?booleanDid the driver report to supporting scrollable result sets?
-
Method Details
-
supportsRefCursors
public boolean supportsRefCursors()Description copied from interface:ExtractedDatabaseMetaDataDoes the driver report supportingTypes.REF_CURSOR?- Specified by:
supportsRefCursorsin interfaceExtractedDatabaseMetaData- Returns:
trueindicates the driver reported true;falseindicates the driver reported false or that the driver could not be asked.- See Also:
-
getJdbcEnvironment
Description copied from interface:ExtractedDatabaseMetaDataObtain the JDBC Environment from which this metadata came.- Specified by:
getJdbcEnvironmentin interfaceExtractedDatabaseMetaData- Returns:
- The JDBC environment
-
supportsSchemas
public boolean supportsSchemas()Description copied from interface:ExtractedDatabaseMetaDataDoes this driver support named schemas in DML?- Specified by:
supportsSchemasin interfaceExtractedDatabaseMetaData- Returns:
falseindicates the driver reported false;trueindicates the driver reported true or that the driver could not be asked.
-
supportsCatalogs
public boolean supportsCatalogs()Description copied from interface:ExtractedDatabaseMetaDataDoes this driver support named catalogs in DML?- Specified by:
supportsCatalogsin interfaceExtractedDatabaseMetaData- Returns:
falseindicates the driver reported false;trueindicates the driver reported true or that the driver could not be asked.
-
supportsNamedParameters
public boolean supportsNamedParameters()Description copied from interface:ExtractedDatabaseMetaDataDoes the driver report supporting named parameters?- Specified by:
supportsNamedParametersin interfaceExtractedDatabaseMetaData- Returns:
trueindicates the driver reported true;falseindicates the driver reported false or that the driver could not be asked.- See Also:
-
supportsScrollableResults
public boolean supportsScrollableResults()Description copied from interface:ExtractedDatabaseMetaDataDid the driver report to supporting scrollable result sets?- Specified by:
supportsScrollableResultsin interfaceExtractedDatabaseMetaData- Returns:
- True if the driver reported to support
ResultSet.TYPE_SCROLL_INSENSITIVE. - See Also:
-
supportsGetGeneratedKeys
public boolean supportsGetGeneratedKeys()Description copied from interface:ExtractedDatabaseMetaDataDid the driver report to supporting retrieval of generated keys?- Specified by:
supportsGetGeneratedKeysin interfaceExtractedDatabaseMetaData- Returns:
- True if the driver reported to support calls to
Statement.getGeneratedKeys() - See Also:
-
supportsBatchUpdates
public boolean supportsBatchUpdates()Description copied from interface:ExtractedDatabaseMetaDataDid the driver report to supporting batched updates?- Specified by:
supportsBatchUpdatesin interfaceExtractedDatabaseMetaData- Returns:
- True if the driver supports batched updates
- See Also:
-
supportsDataDefinitionInTransaction
public boolean supportsDataDefinitionInTransaction()Description copied from interface:ExtractedDatabaseMetaDataDid the driver report to support performing DDL within transactions?- Specified by:
supportsDataDefinitionInTransactionin interfaceExtractedDatabaseMetaData- Returns:
- True if the drivers supports DDL statements within transactions.
- See Also:
-
doesDataDefinitionCauseTransactionCommit
public boolean doesDataDefinitionCauseTransactionCommit()Description copied from interface:ExtractedDatabaseMetaDataDid the driver report to DDL statements performed within a transaction performing an implicit commit of the transaction.- Specified by:
doesDataDefinitionCauseTransactionCommitin interfaceExtractedDatabaseMetaData- Returns:
- True if the driver/database performs an implicit commit of transaction when DDL statement is performed
- See Also:
-
getSqlStateType
Description copied from interface:ExtractedDatabaseMetaDataRetrieve the type of codes the driver says it uses forSQLState. They might follow either the X/Open standard or the SQL92 standard.- Specified by:
getSqlStateTypein interfaceExtractedDatabaseMetaData- Returns:
- The SQLState strategy reportedly used by this driver/database.
- See Also:
-
getConnectionCatalogName
Description copied from interface:ExtractedDatabaseMetaDataRetrieve the name of the catalog in effect when we connected to the database.- Specified by:
getConnectionCatalogNamein interfaceExtractedDatabaseMetaData- Returns:
- The catalog name
- See Also:
-
getConnectionSchemaName
Description copied from interface:ExtractedDatabaseMetaDataRetrieve the name of the schema in effect when we connected to the database.- Specified by:
getConnectionSchemaNamein interfaceExtractedDatabaseMetaData- Returns:
- The schema name
-
getDatabaseProductName
Description copied from interface:ExtractedDatabaseMetaDataThe name of the database, according to the JDBC driver.- Specified by:
getDatabaseProductNamein interfaceExtractedDatabaseMetaData
-
getDatabaseProductVersion
Description copied from interface:ExtractedDatabaseMetaDataThe version of the database, according to the JDBC driver.- Specified by:
getDatabaseProductVersionin interfaceExtractedDatabaseMetaData
-
getUrl
Description copied from interface:ExtractedDatabaseMetaDataRetrieve the JDBC URL.- Specified by:
getUrlin interfaceExtractedDatabaseMetaData- See Also:
-
getDriver
Description copied from interface:ExtractedDatabaseMetaDataRetrieve the JDBC driver name.- Specified by:
getDriverin interfaceExtractedDatabaseMetaData- See Also:
-
getTransactionIsolation
public int getTransactionIsolation()Description copied from interface:ExtractedDatabaseMetaDataRetrieve the transaction isolation level.- Specified by:
getTransactionIsolationin interfaceExtractedDatabaseMetaData- See Also:
-
getDefaultTransactionIsolation
public int getDefaultTransactionIsolation()Description copied from interface:ExtractedDatabaseMetaDataRetrieve the default transaction isolation level.- Specified by:
getDefaultTransactionIsolationin interfaceExtractedDatabaseMetaData- See Also:
-
getDefaultFetchSize
public int getDefaultFetchSize()Description copied from interface:ExtractedDatabaseMetaDataRetrieve the default JDBC fetch size.- Specified by:
getDefaultFetchSizein interfaceExtractedDatabaseMetaData
-
getSequenceInformationList
Description copied from interface:ExtractedDatabaseMetaDataRetrieve the list ofSequenceInformationobjects which describe the underlying database sequences.- Specified by:
getSequenceInformationListin interfaceExtractedDatabaseMetaData- Returns:
SequenceInformationobjects.
-
isJdbcMetadataAccessible
public boolean isJdbcMetadataAccessible()
-