Interface JdbcEnvironment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description IdentifiergetCurrentCatalog()Get the current database catalog.IdentifiergetCurrentSchema()Get the current database catalog.DialectgetDialect()Get the dialect for this environment.ExtractedDatabaseMetaDatagetExtractedDatabaseMetaData()Access to the bits of information we pulled off the JDBCDatabaseMetaData(that did not get "interpreted" into the helpers/delegates available here).IdentifierHelpergetIdentifierHelper()Obtain the helper for dealing with identifiers in this environment.LobCreatorBuildergetLobCreatorBuilder()Retrieve the delegate for buildingLobCreatorinstances.NameQualifierSupportgetNameQualifierSupport()Obtain the level of support for qualified names.QualifiedObjectNameFormattergetQualifiedObjectNameFormatter()Deprecated.Use a providedSqlStringGenerationContextinstead.SqlExceptionHelpergetSqlExceptionHelper()Obtain the helper for dealing with JDBCSQLExceptionfaults.default TypeInfogetTypeInfoForJdbcCode(int jdbcTypeCode)Deprecated.This is currently not implemented an will likely be removed (A default method is provided to facilitate removal from implementors)
-
-
-
Method Detail
-
getDialect
Dialect getDialect()
Get the dialect for this environment.- Returns:
- The dialect.
-
getExtractedDatabaseMetaData
ExtractedDatabaseMetaData getExtractedDatabaseMetaData()
Access to the bits of information we pulled off the JDBCDatabaseMetaData(that did not get "interpreted" into the helpers/delegates available here).- Returns:
- The values extracted from JDBC DatabaseMetaData
-
getCurrentCatalog
Identifier getCurrentCatalog()
Get the current database catalog. Typically will come from eitherConnection.getCatalog()orAvailableSettings.DEFAULT_CATALOG.- Returns:
- The current catalog.
-
getCurrentSchema
Identifier getCurrentSchema()
Get the current database catalog. Typically will come from eitherSchemaNameResolver.resolveSchemaName(java.sql.Connection, org.hibernate.dialect.Dialect)orAvailableSettings.DEFAULT_CATALOG.- Returns:
- The current schema
-
getQualifiedObjectNameFormatter
@Deprecated QualifiedObjectNameFormatter getQualifiedObjectNameFormatter()
Deprecated.Use a providedSqlStringGenerationContextinstead.Obtain support for formatting qualified object names.- Returns:
- Qualified name support.
-
getIdentifierHelper
IdentifierHelper getIdentifierHelper()
Obtain the helper for dealing with identifiers in this environment. Note that the Identifiers returned from this IdentifierHelper already account for auto-quoting :) yaay!- Returns:
- The identifier helper.
-
getNameQualifierSupport
NameQualifierSupport getNameQualifierSupport()
Obtain the level of support for qualified names.- Returns:
- The NameQualifierSupport.
-
getSqlExceptionHelper
SqlExceptionHelper getSqlExceptionHelper()
Obtain the helper for dealing with JDBCSQLExceptionfaults.- Returns:
- This environment's helper.
-
getLobCreatorBuilder
LobCreatorBuilder getLobCreatorBuilder()
Retrieve the delegate for buildingLobCreatorinstances.- Returns:
- The LobCreator builder.
-
getTypeInfoForJdbcCode
@Deprecated default TypeInfo getTypeInfoForJdbcCode(int jdbcTypeCode)
Deprecated.This is currently not implemented an will likely be removed (A default method is provided to facilitate removal from implementors)
-
-