| Modifier and Type | Field and Description |
|---|---|
| private final Identifier | |
| private final Identifier | |
| private final Dialect | |
| private final ExtractedDatabaseMetaData | |
| private final IdentifierHelper | |
| private final LobCreatorBuilderImpl | |
| private static final Logger | |
| private final NameQualifierSupport | |
| private final QualifiedObjectNameFormatter | |
| public static final String | |
| private final SqlAstTranslatorFactory | |
| private final SqlExceptionHelper |
| Access | Constructor and Description |
|---|---|
| public | JdbcEnvironmentImpl(final ServiceRegistryImplementor
The service registry serviceRegistry, final Dialect The resolved dialect. dialect)Constructor form used when the JDBC |
| public | JdbcEnvironmentImpl(DatabaseMetaData databaseMetaData, Dialect dialect, JdbcConnectionAccess jdbcConnectionAccess)
Constructor form used from testing |
| public | JdbcEnvironmentImpl(ServiceRegistryImplementor serviceRegistry, Dialect dialect, DatabaseMetaData databaseMetaData)
Deprecated
currently used by Hibernate Reactive
This version of the constructor should handle the case in which we do actually have
the option to access the DatabaseMetaData, but since Hibernate Reactive is currently
not making use of it we take a shortcut.
|
| public | JdbcEnvironmentImpl(ServiceRegistryImplementor
The service registry serviceRegistry, Dialect The resolved dialect dialect, DatabaseMetaData The available DatabaseMetaData databaseMetaData, JdbcConnectionAccess jdbcConnectionAccess)The main constructor form. |
| currentCatalog | back to summary |
|---|---|
| private final Identifier currentCatalog | |
| currentSchema | back to summary |
|---|---|
| private final Identifier currentSchema | |
| dialect | back to summary |
|---|---|
| private final Dialect dialect | |
| extractedMetaDataSupport | back to summary |
|---|---|
| private final ExtractedDatabaseMetaData extractedMetaDataSupport | |
| identifierHelper | back to summary |
|---|---|
| private final IdentifierHelper identifierHelper | |
| lobCreatorBuilder | back to summary |
|---|---|
| private final LobCreatorBuilderImpl lobCreatorBuilder | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| nameQualifierSupport | back to summary |
|---|---|
| private final NameQualifierSupport nameQualifierSupport | |
| qualifiedObjectNameFormatter | back to summary |
|---|---|
| private final QualifiedObjectNameFormatter qualifiedObjectNameFormatter | |
| SCHEMA_NAME_RESOLVER | back to summary |
|---|---|
| public static final String SCHEMA_NAME_RESOLVER | |
| sqlAstTranslatorFactory | back to summary |
|---|---|
| private final SqlAstTranslatorFactory sqlAstTranslatorFactory | |
| sqlExceptionHelper | back to summary |
|---|---|
| private final SqlExceptionHelper sqlExceptionHelper | |
| JdbcEnvironmentImpl | back to summary |
|---|---|
| public JdbcEnvironmentImpl(final ServiceRegistryImplementor serviceRegistry, final Dialect dialect) Constructor form used when the JDBC
| |
| JdbcEnvironmentImpl | back to summary |
|---|---|
| public JdbcEnvironmentImpl(DatabaseMetaData databaseMetaData, Dialect dialect, JdbcConnectionAccess jdbcConnectionAccess) throws SQLException Constructor form used from testing | |
| JdbcEnvironmentImpl | back to summary |
|---|---|
| public JdbcEnvironmentImpl(ServiceRegistryImplementor serviceRegistry, Dialect dialect, DatabaseMetaData databaseMetaData) throws SQLException
Deprecated currently used by Hibernate Reactive This version of the constructor should handle the case in which we do actually have the option to access the DatabaseMetaData, but since Hibernate Reactive is currently not making use of it we take a shortcut.
| |
| JdbcEnvironmentImpl | back to summary |
|---|---|
| public JdbcEnvironmentImpl(ServiceRegistryImplementor serviceRegistry, Dialect dialect, DatabaseMetaData databaseMetaData, JdbcConnectionAccess jdbcConnectionAccess) throws SQLException The main constructor form. Builds a JdbcEnvironment using the available DatabaseMetaData
| |
| autoKeywordQuoting | back to summary |
|---|---|
| private static boolean autoKeywordQuoting(ConfigurationService cfgService) | |
| buildSqlExceptionHelper | back to summary |
|---|---|
| private SqlExceptionHelper buildSqlExceptionHelper(Dialect dialect, boolean logWarnings) | |
| determineCurrentSchemaName | back to summary |
|---|---|
| private String determineCurrentSchemaName(DatabaseMetaData databaseMetaData, ServiceRegistry serviceRegistry, Dialect dialect) | |
| determineNameQualifierSupport | back to summary |
|---|---|
| private NameQualifierSupport determineNameQualifierSupport(DatabaseMetaData databaseMetaData) throws SQLException | |
| getCurrentCatalog | back to summary |
|---|---|
| public Identifier getCurrentCatalog() Implements org. Doc from org. Get the current database catalog. Typically will come from either
| |
| getCurrentSchema | back to summary |
|---|---|
| public Identifier getCurrentSchema() Implements org. Doc from org. Get the current database catalog. Typically will come from either
| |
| getDialect | back to summary |
|---|---|
| public Dialect getDialect() Implements org. Doc from org. Get the dialect for this environment. | |
| getExtractedDatabaseMetaData | back to summary |
|---|---|
| public ExtractedDatabaseMetaData getExtractedDatabaseMetaData() Implements org. Doc from org. Access to the bits of information we pulled off the JDBC
| |
| getIdentifierHelper | back to summary |
|---|---|
| public IdentifierHelper getIdentifierHelper() Implements org. Doc from org. Obtain the helper for dealing with identifiers in this environment. Note that the Identifiers returned from this IdentifierHelper already account for auto-quoting :) yaay!
| |
| getLobCreatorBuilder | back to summary |
|---|---|
| public LobCreatorBuilder getLobCreatorBuilder() Implements org. Doc from org. Retrieve the delegate for building
| |
| getNameQualifierSupport | back to summary |
|---|---|
| public NameQualifierSupport getNameQualifierSupport() Implements org. Doc from org. Obtain the level of support for qualified names.
| |
| getQualifiedObjectNameFormatter | back to summary |
|---|---|
| public QualifiedObjectNameFormatter getQualifiedObjectNameFormatter() Implements org. Doc from org. Obtain support for formatting qualified object names.
| |
| getSqlAstTranslatorFactory | back to summary |
|---|---|
| public SqlAstTranslatorFactory getSqlAstTranslatorFactory() Implements org.
| |
| getSqlExceptionHelper | back to summary |
|---|---|
| public SqlExceptionHelper getSqlExceptionHelper() Implements org. Doc from org. Obtain the helper for dealing with JDBC
| |
| globalQuoting | back to summary |
|---|---|
| private static boolean globalQuoting(ConfigurationService cfgService) | |
| globalQuotingSkippedForColumnDefinitions | back to summary |
|---|---|
| private boolean globalQuotingSkippedForColumnDefinitions(ConfigurationService cfgService) | |
| isMultiTenancyEnabled | back to summary |
|---|---|
| public static boolean isMultiTenancyEnabled(ServiceRegistry serviceRegistry) | |
| logWarnings | back to summary |
|---|---|
| private static boolean logWarnings(ConfigurationService cfgService, Dialect dialect) | |
| resolveSqlAstTranslatorFactory | back to summary |
|---|---|
| private static SqlAstTranslatorFactory resolveSqlAstTranslatorFactory(Dialect dialect) | |