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.OffsetFetchLimitHandlerALimitHandlerfor Ingres. According to the documentation for Ingres 10.2, Ingres supports the syntaxFETCH FIRST m ROWS ONLYandOFFSET n FETCH NEXT m ROWS ONLY, which is oh-so-close to the ANSI SQL standard, except for the missingROWSafterOFFSET.
-
-
Field Summary
Fields Modifier and Type Field Description static IngresLimitHandlerINSTANCE
-
Constructor Summary
Constructors Constructor Description IngresLimitHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PatterngetForUpdatePattern()The offset/fetch clauses must come before theWITHclause.protected booleanrenderOffsetRowsKeyword()-
Methods inherited from class org.hibernate.dialect.pagination.OffsetFetchLimitHandler
processSql, 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
-
-
-
-
Field Detail
-
INSTANCE
public static final IngresLimitHandler INSTANCE
-
-
Method Detail
-
renderOffsetRowsKeyword
protected boolean renderOffsetRowsKeyword()
- Overrides:
renderOffsetRowsKeywordin classorg.hibernate.dialect.pagination.OffsetFetchLimitHandler
-
getForUpdatePattern
protected Pattern getForUpdatePattern()
The offset/fetch clauses must come before theWITHclause.- Overrides:
getForUpdatePatternin classorg.hibernate.dialect.pagination.AbstractLimitHandler
-
-