Interface DialectResolver
-
- All Superinterfaces:
java.io.Serializable,Service
- All Known Implementing Classes:
BasicDialectResolver
public interface DialectResolver extends Service
Contract for determining theDialectto use based on information about the database / driver.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DialectresolveDialect(DialectResolutionInfo info)Determine theDialectto use based on the given information.
-
-
-
Method Detail
-
resolveDialect
Dialect resolveDialect(DialectResolutionInfo info)
Determine theDialectto use based on the given information. Implementations are expected to return theDialectinstance to use, ornullif the they did not locate a match.- Parameters:
info- Access to the information about the database/driver needed to perform the resolution- Returns:
- The dialect to use, or null.
-
-