Class DialectResolverSet

java.lang.Object
org.hibernate.engine.jdbc.dialect.internal.DialectResolverSet
All Implemented Interfaces:
Serializable, DialectResolver, Service

public class DialectResolverSet extends Object implements DialectResolver
A DialectResolver implementation which coordinates resolution by delegating to sub-resolvers.
See Also:
  • Constructor Details

    • DialectResolverSet

      public DialectResolverSet()
    • DialectResolverSet

      public DialectResolverSet(List<DialectResolver> resolvers)
    • DialectResolverSet

      public DialectResolverSet(DialectResolver... resolvers)
  • Method Details

    • resolveDialect

      public Dialect resolveDialect(DialectResolutionInfo info)
      Description copied from interface: DialectResolver
      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.
      Specified by:
      resolveDialect in interface DialectResolver
      Parameters:
      info - Access to the information about the database/driver needed to perform the resolution
      Returns:
      The dialect to use, or null.
    • addResolver

      public void addResolver(DialectResolver... resolvers)
    • addResolverAtFirst

      public void addResolverAtFirst(DialectResolver... resolvers)
    • addDiscoveredResolvers

      public void addDiscoveredResolvers(Collection<DialectResolver> resolvers)