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
public class DerbyLimitHandler extends OffsetFetchLimitHandler
ALimitHandler
for Apache Derby, which fully supports the ANSI SQL standard syntaxFETCH FIRST m ROWS ONLY
andOFFSET 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Pattern
getForUpdatePattern()
The offset/fetch clauses must come before theFOR UPDATE
ish andWITH
clauses.-
Methods inherited from class org.hibernate.dialect.pagination.OffsetFetchLimitHandler
processSql, 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.dialect.pagination.LimitHandler
processSql
-
-
-
-
Method Detail
-
getForUpdatePattern
protected Pattern getForUpdatePattern()
The offset/fetch clauses must come before theFOR UPDATE
ish andWITH
clauses.- Overrides:
getForUpdatePattern
in classAbstractLimitHandler
-
-