public class DialectFactoryImpl extends Object implements DialectFactory, ServiceRegistryAwareService
DialectFactory service.| Constructor and Description | 
|---|
DialectFactoryImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
Dialect | 
buildDialect(Map configValues,
            DialectResolutionInfoSource resolutionInfoSource)
Builds an appropriate Dialect instance. 
 | 
void | 
injectServices(ServiceRegistryImplementor serviceRegistry)
Callback to inject the registry. 
 | 
void | 
setDialectResolver(DialectResolver dialectResolver)
Intended only for use from testing. 
 | 
public void injectServices(ServiceRegistryImplementor serviceRegistry)
ServiceRegistryAwareServiceinjectServices in interface ServiceRegistryAwareServiceserviceRegistry - The registrypublic void setDialectResolver(DialectResolver dialectResolver)
dialectResolver - The DialectResolver to usepublic Dialect buildDialect(Map configValues, DialectResolutionInfoSource resolutionInfoSource) throws HibernateException
DialectFactorybuildDialect in interface DialectFactoryconfigValues - The configuration properties.resolutionInfoSource - Access to DialectResolutionInfo used to resolve the Dialect to use if not
 explicitly namedHibernateException - No dialect specified and no resolver could make the determination.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.