Class ExtractedDatabaseMetaDataImpl
java.lang.Object
org.hibernate.engine.jdbc.env.internal.ExtractedDatabaseMetaDataImpl
- All Implemented Interfaces:
ExtractedDatabaseMetaData
Standard implementation of
ExtractedDatabaseMetaData-
Nested Class Summary
Nested Classes -
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.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?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?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
-
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
-
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:
-
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()
-