Class DialectResolverSet
java.lang.Object
org.hibernate.engine.jdbc.dialect.internal.DialectResolverSet
- All Implemented Interfaces:
Serializable,DialectResolver,Service
A
DialectResolver implementation which coordinates resolution by delegating to sub-resolvers.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDialectResolverSet(List<DialectResolver> resolvers) DialectResolverSet(DialectResolver... resolvers) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDiscoveredResolvers(Collection<DialectResolver> resolvers) voidaddResolver(DialectResolver... resolvers) voidaddResolverAtFirst(DialectResolver... resolvers) Determine theDialectto use based on the given information.
-
Constructor Details
-
DialectResolverSet
public DialectResolverSet() -
DialectResolverSet
-
DialectResolverSet
-
-
Method Details
-
resolveDialect
Description copied from interface:DialectResolverDetermine theDialectto use based on the given information. Implementations are expected to return theDialectinstance to use, ornullif they did not locate a match.- Specified by:
resolveDialectin interfaceDialectResolver- Parameters:
info- Access to the information about the database/driver needed to perform the resolution- Returns:
- The dialect to use, or null.
-
addResolver
-
addResolverAtFirst
-
addDiscoveredResolvers
-