LimitHandler for Oracle prior to 12c, which uses ROWNUM.
| Modifier and Type | Field and Description |
|---|---|
| private final DatabaseVersion |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | bindLimitParametersInReverseOrder()
Overrides org. |
| public boolean | forceLimitUsage()
Overrides org. |
| public String | processSql(String sql, Limit limit)
Overrides org. Implements org. |
| public boolean | supportsLimit()
Overrides org. Implements org. |
| public boolean | supportsOffset()
Overrides org. Implements org. |
| public boolean | useMaxForLimit()
Overrides org. |
| version | back to summary |
|---|---|
| private final DatabaseVersion version | |
| LegacyOracleLimitHandler | back to summary |
|---|---|
| public LegacyOracleLimitHandler(DatabaseVersion version) | |
| bindLimitParametersInReverseOrder | back to summary |
|---|---|
| public boolean bindLimitParametersInReverseOrder() Overrides org. Doc from org. Usually, the offset comes before the limit, but occasionally the offset is specified after the limit. Does this dialect require us to bind the parameters in reverse order?
| |
| forceLimitUsage | back to summary |
|---|---|
| public boolean forceLimitUsage() Overrides org. Doc from org. Generally, if there is no limit applied to a Hibernate query we do not apply any limits to the SQL query. This option forces that the limit be written to the SQL query.
| |
| processSql | back to summary |
|---|---|
| public String processSql(String sql, Limit limit) Overrides org. Implements org.
| |
| supportsLimit | back to summary |
|---|---|
| public boolean supportsLimit() Overrides org. Implements org. Doc from org. Does this handler support limiting query results?
| |
| supportsOffset | back to summary |
|---|---|
| public boolean supportsOffset() Overrides org. Implements org. Doc from org. Does this handler support offsetting query results without also specifying a limit?
| |
| useMaxForLimit | back to summary |
|---|---|
| public boolean useMaxForLimit() Overrides org. Doc from org. Does the limit clause expect the number of the last row, or the
"page size", the maximum number of rows we want to receive?
Hibernate's
| |