类 DialectResolverSet

    • 构造器详细资料

      • DialectResolverSet

        public DialectResolverSet()
      • DialectResolverSet

        public DialectResolverSet​(DialectResolver... resolvers)
    • 方法详细资料

      • resolveDialect

        public 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.
      • addResolver

        public void addResolver​(DialectResolver resolver)
        Add a resolver at the end of the underlying resolver list. The resolver added by this method is at lower priority than any other existing resolvers.
        参数:
        resolver - The resolver to add.
      • addResolverAtFirst

        public void addResolverAtFirst​(DialectResolver resolver)
        Add a resolver at the beginning of the underlying resolver list. The resolver added by this method is at higher priority than any other existing resolvers.
        参数:
        resolver - The resolver to add.