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
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, processSql, processSqlMutatesState, 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
getParameterPositionStart, processSql
-
Constructor Details
-
DerbyLimitHandler
public DerbyLimitHandler(boolean variableLimit)
-
-
Method Details
-
getForUpdatePattern
The offset/fetch clauses must come before theFOR UPDATEish andWITHclauses.- Overrides:
getForUpdatePatternin classorg.hibernate.dialect.pagination.AbstractLimitHandler
-