Class IngresLimitHandler
java.lang.Object
org.hibernate.dialect.pagination.AbstractLimitHandler
org.hibernate.dialect.pagination.OffsetFetchLimitHandler
org.hibernate.community.dialect.pagination.IngresLimitHandler
- All Implemented Interfaces:
org.hibernate.dialect.pagination.LimitHandler
public class IngresLimitHandler
extends org.hibernate.dialect.pagination.OffsetFetchLimitHandler
A
LimitHandler for Ingres. According to the
documentation for Ingres 10.2, Ingres supports the
syntax FETCH FIRST m ROWS ONLY
and OFFSET n FETCH NEXT m ROWS ONLY, which
is oh-so-close to the ANSI SQL standard, except for
the missing ROWS after OFFSET.-
Field Summary
FieldsFields 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 theWITHclause.protected booleanMethods inherited from class org.hibernate.dialect.pagination.OffsetFetchLimitHandler
processSql, processSql, processSqlMutatesState, 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
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
IngresLimitHandler
public IngresLimitHandler()
-
-
Method Details
-
renderOffsetRowsKeyword
protected boolean renderOffsetRowsKeyword()- Overrides:
renderOffsetRowsKeywordin classorg.hibernate.dialect.pagination.OffsetFetchLimitHandler
-
getForUpdatePattern
The offset/fetch clauses must come before theWITHclause.- Overrides:
getForUpdatePatternin classorg.hibernate.dialect.pagination.AbstractLimitHandler
-