Package org.hibernate.dialect.pagination
Class SQLServer2012LimitHandler
java.lang.Object
org.hibernate.dialect.pagination.AbstractLimitHandler
org.hibernate.dialect.pagination.OffsetFetchLimitHandler
org.hibernate.dialect.pagination.SQLServer2012LimitHandler
- All Implemented Interfaces:
LimitHandler
A
LimitHandler
compatible with SQL Server 2012 which
introduced support for the ANSI SQL standard syntax
OFFSET m ROWS FETCH NEXT n ROWS ONLY
, though this syntax
is considered part of the ORDER BY
clause, and with the
wrinkle that both ORDER BY
and the OFFSET
clause
are required.-
Field Summary
FieldsFields inherited from class org.hibernate.dialect.pagination.AbstractLimitHandler
NO_LIMIT
-
Constructor Summary
Constructors -
Method Summary
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, getForUpdatePattern, 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
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
SQLServer2012LimitHandler
public SQLServer2012LimitHandler()
-