public class DialectFactoryImpl extends Object implements DialectFactory
DialectFactory
service.Constructor and Description |
---|
DialectFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
Dialect |
buildDialect(Map configValues,
Connection connection)
Builds an appropriate Dialect instance.
|
void |
setClassLoaderService(ClassLoaderService classLoaderService) |
void |
setDialectResolver(DialectResolver dialectResolver) |
public void setClassLoaderService(ClassLoaderService classLoaderService)
public void setDialectResolver(DialectResolver dialectResolver)
public Dialect buildDialect(Map configValues, Connection connection) throws HibernateException
DialectFactory
buildDialect
in interface DialectFactory
configValues
- The configuration properties.connection
- The configured connection.HibernateException
- No dialect specified and no resolver could make the determination.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.