类 BasicDialectResolver

    • 构造器详细资料

      • BasicDialectResolver

        public BasicDialectResolver​(String nameToMatch,
                                    Class dialectClass)
        Constructs a BasicDialectResolver
        参数:
        nameToMatch - The name of the driver to match on
        dialectClass - The Dialect class to use on match
      • BasicDialectResolver

        public BasicDialectResolver​(String nameToMatch,
                                    int majorVersionToMatch,
                                    Class dialectClass)
        Constructs a BasicDialectResolver
        参数:
        nameToMatch - The name of the driver to match on
        majorVersionToMatch - The version of the driver to match on
        dialectClass - The Dialect class to use on match
      • BasicDialectResolver

        public BasicDialectResolver​(String nameToMatch,
                                    int majorVersionToMatch,
                                    int minorVersionToMatch,
                                    Class dialectClass)
        Constructs a BasicDialectResolver
        参数:
        nameToMatch - The name of the driver to match on
        majorVersionToMatch - The version of the driver to match on
        dialectClass - The Dialect class to use on match
    • 方法详细资料

      • resolveDialect

        public final Dialect resolveDialect​(DialectResolutionInfo info)
        从接口复制的说明: DialectResolver
        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.
        指定者:
        resolveDialect 在接口中 DialectResolver
        参数:
        info - Access to the information about the database/driver needed to perform the resolution
        返回:
        The dialect to use, or null.