Package org.hibernate.dialect.pagination
Class LegacyHSQLLimitHandler
java.lang.Object
org.hibernate.dialect.pagination.AbstractLimitHandler
org.hibernate.dialect.pagination.AbstractSimpleLimitHandler
org.hibernate.dialect.pagination.LegacyHSQLLimitHandler
- All Implemented Interfaces:
LimitHandler
A
LimitHandler for HSQL prior to 2.0.-
Field Summary
FieldsFields inherited from class org.hibernate.dialect.pagination.AbstractLimitHandler
NO_LIMIT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanDoes the offset/limit clause come at the start of theSELECTstatement, or at the end of the query?protected Stringprotected StringlimitClause(boolean hasFirstRow) Methods inherited from class org.hibernate.dialect.pagination.AbstractSimpleLimitHandler
offsetOnlyClause, processSql, supportsLimit, supportsOffset, supportsVariableLimitMethods inherited from class org.hibernate.dialect.pagination.AbstractLimitHandler
bindLimitParameters, bindLimitParametersAtEndOfQuery, bindLimitParametersAtStartOfQuery, bindLimitParametersInReverseOrder, convertToFirstRowValue, forceLimitUsage, getFirstRow, getForUpdatePattern, 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
processSql
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
LegacyHSQLLimitHandler
public LegacyHSQLLimitHandler()
-
-
Method Details
-
limitClause
- Specified by:
limitClausein classAbstractSimpleLimitHandler
-
insert
- Overrides:
insertin classAbstractSimpleLimitHandler
-
bindLimitParametersFirst
public final boolean bindLimitParametersFirst()Description copied from class:AbstractLimitHandlerDoes the offset/limit clause come at the start of theSELECTstatement, or at the end of the query?- Overrides:
bindLimitParametersFirstin classAbstractLimitHandler- Returns:
- true if limit parameters come before other parameters
-