Package org.hibernate.dialect.pagination
Support for
Dialect-specific pagination strategies.- See Also:
LimitHandler
-
Interface Summary Interface Description LimitHandler Contract defining dialect-specific limit and offset handling. -
Class Summary Class Description AbstractLimitHandler Default implementation ofLimitHandlerinterface.AbstractNoOffsetLimitHandler Superclass forLimitHandlers that don't support offsets at all.AbstractSimpleLimitHandler Superclass for simpleLimitHandlers that don't support specifying an offset without a limit.DB2LimitHandler ALimitHandlerfor DB2 11.1 which supports the ANSI SQL standard syntaxFETCH FIRST m ROWS ONLYandOFFSET n ROWS FETCH NEXT m ROWS ONLY, with the only wrinkle being that this clause comes after theFOR UPDATEand other similar clauses.DerbyLimitHandler ALimitHandlerfor Apache Derby, which fully supports the ANSI SQL standard syntaxFETCH FIRST m ROWS ONLYandOFFSET n ROWS FETCH NEXT m ROWS ONLY.FetchLimitHandler ALimitHandlerfor databases which support the ANSI SQL standard syntaxFETCH FIRST m ROWS ONLYbut notOFFSET n ROWS.LegacyDB2LimitHandler ALimitHandlerfor DB2.LegacyHSQLLimitHandler ALimitHandlerfor HSQL prior to 2.0.LegacyOracleLimitHandler ALimitHandlerfor Oracle prior to 12c, which usesROWNUM.LimitLimitHandler Limit handler for MySQL and CUBRID which support the syntaxLIMIT nandLIMIT m, n.LimitOffsetLimitHandler ALimitHandlerfor databases like PostgreSQL, H2, and HSQL that support the syntaxLIMIT n OFFSET m.NoopLimitHandler Handler not supporting query LIMIT clause.OffsetFetchLimitHandler ALimitHandlerfor databases which support the ANSI SQL standard syntaxFETCH FIRST m ROWS ONLYandOFFSET n ROWS FETCH NEXT m ROWS ONLY.Oracle12LimitHandler ALimitHandlerfor databases which support the ANSI SQL standard syntaxFETCH FIRST m ROWS ONLYandOFFSET n ROWS FETCH NEXT m ROWS ONLY.SQLServer2005LimitHandler SQLServer2012LimitHandler ALimitHandlercompatible 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 BYclause, and with the wrinkle that bothORDER BYand theOFFSETclause are required.TopLimitHandler ALimitHandlerfor Transact SQL and similar databases which support the syntaxSELECT TOP n.