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 TypeMethodDescriptionboolean
Did 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.Obtain the JDBC Environment from which this metadata came.Retrieve the list ofSequenceInformation
objects which describe the underlying database sequences.Retrieve the type of codes the driver says it uses forSQLState
.boolean
boolean
Did the driver report to supporting batched updates?boolean
Did the driver report to support performing DDL within transactions?boolean
Did the driver report to supporting retrieval of generated keys?boolean
Does the driver report supporting named parameters?boolean
Does the driver report supportingTypes.REF_CURSOR
?boolean
Did the driver report to supporting scrollable result sets?
-
Method Details
-
supportsRefCursors
public boolean supportsRefCursors()Description copied from interface:ExtractedDatabaseMetaData
Does the driver report supportingTypes.REF_CURSOR
?- Specified by:
supportsRefCursors
in interfaceExtractedDatabaseMetaData
- Returns:
true
indicates the driver reported true;false
indicates the driver reported false or that the driver could not be asked.- See Also:
-
getJdbcEnvironment
Description copied from interface:ExtractedDatabaseMetaData
Obtain the JDBC Environment from which this metadata came.- Specified by:
getJdbcEnvironment
in interfaceExtractedDatabaseMetaData
- Returns:
- The JDBC environment
-
supportsNamedParameters
public boolean supportsNamedParameters()Description copied from interface:ExtractedDatabaseMetaData
Does the driver report supporting named parameters?- Specified by:
supportsNamedParameters
in interfaceExtractedDatabaseMetaData
- Returns:
true
indicates the driver reported true;false
indicates the driver reported false or that the driver could not be asked.- See Also:
-
supportsScrollableResults
public boolean supportsScrollableResults()Description copied from interface:ExtractedDatabaseMetaData
Did the driver report to supporting scrollable result sets?- Specified by:
supportsScrollableResults
in interfaceExtractedDatabaseMetaData
- Returns:
- True if the driver reported to support
ResultSet.TYPE_SCROLL_INSENSITIVE
. - See Also:
-
supportsGetGeneratedKeys
public boolean supportsGetGeneratedKeys()Description copied from interface:ExtractedDatabaseMetaData
Did the driver report to supporting retrieval of generated keys?- Specified by:
supportsGetGeneratedKeys
in interfaceExtractedDatabaseMetaData
- Returns:
- True if the driver reported to support calls to
Statement.getGeneratedKeys()
- See Also:
-
supportsBatchUpdates
public boolean supportsBatchUpdates()Description copied from interface:ExtractedDatabaseMetaData
Did the driver report to supporting batched updates?- Specified by:
supportsBatchUpdates
in interfaceExtractedDatabaseMetaData
- Returns:
- True if the driver supports batched updates
- See Also:
-
supportsDataDefinitionInTransaction
public boolean supportsDataDefinitionInTransaction()Description copied from interface:ExtractedDatabaseMetaData
Did the driver report to support performing DDL within transactions?- Specified by:
supportsDataDefinitionInTransaction
in interfaceExtractedDatabaseMetaData
- Returns:
- True if the drivers supports DDL statements within transactions.
- See Also:
-
doesDataDefinitionCauseTransactionCommit
public boolean doesDataDefinitionCauseTransactionCommit()Description copied from interface:ExtractedDatabaseMetaData
Did the driver report to DDL statements performed within a transaction performing an implicit commit of the transaction.- Specified by:
doesDataDefinitionCauseTransactionCommit
in 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:ExtractedDatabaseMetaData
Retrieve the type of codes the driver says it uses forSQLState
. They might follow either the X/Open standard or the SQL92 standard.- Specified by:
getSqlStateType
in interfaceExtractedDatabaseMetaData
- Returns:
- The SQLState strategy reportedly used by this driver/database.
- See Also:
-
getConnectionCatalogName
Description copied from interface:ExtractedDatabaseMetaData
Retrieve the name of the catalog in effect when we connected to the database.- Specified by:
getConnectionCatalogName
in interfaceExtractedDatabaseMetaData
- Returns:
- The catalog name
- See Also:
-
getConnectionSchemaName
Description copied from interface:ExtractedDatabaseMetaData
Retrieve the name of the schema in effect when we connected to the database.- Specified by:
getConnectionSchemaName
in interfaceExtractedDatabaseMetaData
- Returns:
- The schema name
-
getSequenceInformationList
Description copied from interface:ExtractedDatabaseMetaData
Retrieve the list ofSequenceInformation
objects which describe the underlying database sequences.- Specified by:
getSequenceInformationList
in interfaceExtractedDatabaseMetaData
- Returns:
SequenceInformation
objects.
-
isJdbcMetadataAccessible
public boolean isJdbcMetadataAccessible()
-