DialectFactory service.
| Modifier and Type | Field and Description |
|---|---|
| private DialectResolver | |
| private StrategySelector |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Dialect | buildDialect(Map<K, V>
The configuration properties. configValues, DialectResolutionInfoSource Access to DialectResolutionInfo used to resolve the Dialect to use if not
explicitly named resolutionInfoSource)Implements org. |
| private Dialect | |
| private Dialect | Returns: The appropriate dialect instance.Access to DialectResolutionInfo used to resolve the Dialect. resolutionInfoSource)Determine the appropriate Dialect to use given the connection. |
| public void | injectServices(ServiceRegistryImplementor
The registry serviceRegistry)Implements org. |
| private boolean | |
| public void | setDialectResolver(DialectResolver
The DialectResolver to use dialectResolver)Intended only for use from testing. |
| dialectResolver | back to summary |
|---|---|
| private DialectResolver dialectResolver | |
| strategySelector | back to summary |
|---|---|
| private StrategySelector strategySelector | |
| DialectFactoryImpl | back to summary |
|---|---|
| public DialectFactoryImpl() | |
| buildDialect | back to summary |
|---|---|
| public Dialect buildDialect(Map<K, V> configValues, DialectResolutionInfoSource resolutionInfoSource) throws HibernateException Implements org. Doc from org. Builds an appropriate Dialect instance. If a dialect is explicitly named in the incoming properties, it should used. Otherwise, it is determined by dialect resolvers based on the passed connection. An exception is thrown if a dialect was not explicitly set and no resolver could make the determination from the given connection.
| |
| constructDialect | back to summary |
|---|---|
| private Dialect constructDialect(Object dialectReference) | |
| determineDialect | back to summary |
|---|---|
| private Dialect determineDialect(DialectResolutionInfoSource resolutionInfoSource) Determine the appropriate Dialect to use given the connection.
| |
| injectServices | back to summary |
|---|---|
| public void injectServices(ServiceRegistryImplementor serviceRegistry) Implements org. Doc from org. Callback to inject the registry.
| |
| isEmpty | back to summary |
|---|---|
private boolean isEmpty(Object dialectReference)
| |
| setDialectResolver | back to summary |
|---|---|
| public void setDialectResolver(DialectResolver dialectResolver) Intended only for use from testing.
| |