Package org.hibernate.dialect.pagination
Class DerbyLimitHandler
java.lang.Object
org.hibernate.dialect.pagination.AbstractLimitHandler
org.hibernate.dialect.pagination.OffsetFetchLimitHandler
org.hibernate.dialect.pagination.DerbyLimitHandler
- All Implemented Interfaces:
LimitHandler
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.- Author:
- Gavin King
-
Field Summary
Fields inherited from class org.hibernate.dialect.pagination.OffsetFetchLimitHandler
INSTANCEFields inherited from class org.hibernate.dialect.pagination.AbstractLimitHandler
NO_LIMIT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PatternThe offset/fetch clauses must come before theFOR UPDATEish andWITHclauses.Methods inherited from class org.hibernate.dialect.pagination.OffsetFetchLimitHandler
processSql, renderOffsetRowsKeyword, supportsLimit, supportsOffset, supportsVariableLimitMethods 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, useMaxForLimitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.dialect.pagination.LimitHandler
processSql
-
Constructor Details
-
DerbyLimitHandler
public DerbyLimitHandler(boolean variableLimit)
-
-
Method Details
-
getForUpdatePattern
The offset/fetch clauses must come before theFOR UPDATEish andWITHclauses.- Overrides:
getForUpdatePatternin classAbstractLimitHandler
-