接口 JdbcDialectFactory

    • 方法详细资料

      • acceptsURL

        boolean acceptsURL​(String url)
        Retrieves whether the dialect thinks that it can open a connection to the given URL. Typically, dialects will return true if they understand the sub-protocol specified in the URL and false if they do not.
        参数:
        url - the URL of the database
        返回:
        true if this dialect understands the given URL; false otherwise.
      • create

        default JdbcDialect create​(String compatibleMode,
                                   String fieldId)
        Create a JdbcDialect instance based on the driver type and compatible mode.
        参数:
        compatibleMode - The compatible mode
        返回:
        a new instance of JdbcDialect