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
public class SQLServer2012LimitHandler extends OffsetFetchLimitHandler
ALimitHandler
compatible with SQL Server 2012 which introduced support for the ANSI SQL standard syntaxOFFSET m ROWS FETCH NEXT n ROWS ONLY
, though this syntax is considered part of theORDER BY
clause, and with the wrinkle that bothORDER BY
and theOFFSET
clause are required.
-
-
Field Summary
Fields Modifier and Type Field Description static SQLServer2012LimitHandler
INSTANCE
-
Fields inherited from class org.hibernate.dialect.pagination.AbstractLimitHandler
NO_LIMIT
-
-
Constructor Summary
Constructors Constructor Description SQLServer2012LimitHandler()
-
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 Detail
-
INSTANCE
public static final SQLServer2012LimitHandler INSTANCE
-
-