Class FirebirdDialect

    • Constructor Detail

      • FirebirdDialect

        public FirebirdDialect()
    • Method Detail

      • getLimitString

        public String getLimitString​(String sql,
                                     boolean hasOffset)
        Description copied from class: Dialect
        Apply a limit clause to the query.

        Typically dialects utilize variable limit clauses when they support limits. Thus, when building the select command we do not actually need to know the limit or the offset since we will just be using placeholders.

        Here we do still pass along whether or not an offset was specified so that dialects not supporting offsets can generate proper exceptions. In general, dialects will override one or the other of this method and Dialect.getLimitString(String, int, int).

        getLimitString in class InterbaseDialect
        sql - The query to which to apply the limit.
        hasOffset - Is the query requesting an offset?
        the modified SQL
      • bindLimitParametersFirst

        public boolean bindLimitParametersFirst()
        Description copied from class: Dialect
        Does the LIMIT clause come at the start of the SELECT statement, rather than at the end?
        bindLimitParametersFirst in class InterbaseDialect
        true if limit parameters should come before other parameters
      • bindLimitParametersInReverseOrder

        public boolean bindLimitParametersInReverseOrder()
        Description copied from class: Dialect
        ANSI SQL defines the LIMIT clause to be in the form LIMIT offset, limit. Does this dialect require us to bind the parameters in reverse order?
        bindLimitParametersInReverseOrder in class InterbaseDialect
        true if the correct order is limit, offset