Top Description Fields Constructors Methods
org.hibernate.engine.jdbc.dialect.internal

public Class DialectResolverSet

extends Object
implements DialectResolver
Class Inheritance
All Implemented Interfaces
org.hibernate.engine.jdbc.dialect.spi.DialectResolver, org.hibernate.service.Service, java.io.Serializable
Imports
java.util.ArrayList, .Arrays, .Collection, .List, org.hibernate.dialect.Dialect, org.hibernate.engine.jdbc.dialect.spi.DialectResolutionInfo, .DialectResolver, org.hibernate.exception.JDBCConnectionException, org.hibernate.internal.CoreLogging, .CoreMessageLogger

A DialectResolver implementation which coordinates resolution by delegating to sub-resolvers.
Authors
Tomoto Shimizu Washio, Steve Ebersole

Field Summary

Modifier and TypeField and Description
private static final CoreMessageLogger
private final List<DialectResolver>

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
public Dialect
resolveDialect(DialectResolutionInfo
Access to the information about the database/driver needed to perform the resolution
info
)

Implements org.hibernate.engine.jdbc.dialect.spi.DialectResolver.resolveDialect.

Determine the Dialect to use based on the given information.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOGback to summary
private static final CoreMessageLogger LOG
resolversback to summary
private final List<DialectResolver> resolvers

Constructor Detail

DialectResolverSetback to summary
public DialectResolverSet()
DialectResolverSetback to summary
public DialectResolverSet(List<DialectResolver> resolvers)
DialectResolverSetback to summary
public DialectResolverSet(DialectResolver... resolvers)

Method Detail

addDiscoveredResolversback to summary
public void addDiscoveredResolvers(Collection<DialectResolver> resolvers)
addResolverback to summary
public void addResolver(DialectResolver... resolvers)
addResolverAtFirstback to summary
public void addResolverAtFirst(DialectResolver... resolvers)
resolveDialectback to summary
public Dialect resolveDialect(DialectResolutionInfo info)

Implements org.hibernate.engine.jdbc.dialect.spi.DialectResolver.resolveDialect.

Doc from org.hibernate.engine.jdbc.dialect.spi.DialectResolver.resolveDialect.

Determine the Dialect to use based on the given information. Implementations are expected to return the Dialect instance to use, or null if they did not locate a match.

Parameters
info:DialectResolutionInfo

Access to the information about the database/driver needed to perform the resolution

Returns:Dialect

The dialect to use, or null.

Annotations
@Override