Interface DialectResolver

  • All Superinterfaces:
    java.io.Serializable, Service
    All Known Implementing Classes:
    BasicDialectResolver

    public interface DialectResolver
    extends Service
    Contract for determining the Dialect to use based on information about the database / driver.
    • Method Detail

      • resolveDialect

        Dialect resolveDialect​(DialectResolutionInfo info)
        Determine the Dialect to use based on the given information. Implementations are expected to return the Dialect instance to use, or null if 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.