Class DerbyLimitHandler

java.lang.Object
org.hibernate.dialect.pagination.AbstractLimitHandler
org.hibernate.dialect.pagination.OffsetFetchLimitHandler
org.hibernate.community.dialect.pagination.DerbyLimitHandler
All Implemented Interfaces:
org.hibernate.dialect.pagination.LimitHandler

public class DerbyLimitHandler extends org.hibernate.dialect.pagination.OffsetFetchLimitHandler
A LimitHandler for Apache Derby, which fully supports the ANSI SQL standard syntax FETCH FIRST m ROWS ONLY and OFFSET n ROWS FETCH NEXT m ROWS ONLY.
  • Field Summary

    Fields inherited from class org.hibernate.dialect.pagination.OffsetFetchLimitHandler

    INSTANCE

    Fields inherited from class org.hibernate.dialect.pagination.AbstractLimitHandler

    NO_LIMIT
  • Constructor Summary

    Constructors
    Constructor
    Description
    DerbyLimitHandler(boolean variableLimit)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Pattern
    The offset/fetch clauses must come before the FOR UPDATEish and WITH clauses.

    Methods inherited from class org.hibernate.dialect.pagination.OffsetFetchLimitHandler

    processSql, processSql, processSqlMutatesState, renderOffsetRowsKeyword, supportsLimit, supportsOffset, supportsVariableLimit

    Methods inherited from class org.hibernate.dialect.pagination.AbstractLimitHandler

    bindLimitParameters, bindLimitParametersAtEndOfQuery, bindLimitParametersAtStartOfQuery, bindLimitParametersFirst, bindLimitParametersInReverseOrder, convertToFirstRowValue, forceLimitUsage, getFirstRow, getMaxOrLimit, hasFirstRow, hasMaxRows, insertAfterDistinct, insertAfterSelect, insertAtEnd, insertBeforeForUpdate, setMaxRows, supportsLimitOffset, useMaxForLimit

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hibernate.dialect.pagination.LimitHandler

    getParameterPositionStart, processSql
  • Constructor Details

    • DerbyLimitHandler

      public DerbyLimitHandler(boolean variableLimit)
  • Method Details

    • getForUpdatePattern

      protected Pattern getForUpdatePattern()
      The offset/fetch clauses must come before the FOR UPDATEish and WITH clauses.
      Overrides:
      getForUpdatePattern in class org.hibernate.dialect.pagination.AbstractLimitHandler