Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -4587,6 +4587,9 @@ public boolean isWithAsEnable() {
*/
protected String getOraclePageSql(String sql) {
int count = getCount();
if (count <= 0 || RequestMethod.isHeadMethod(getMethod(), true)) { // TODO HEAD 真的不需要 LIMIT ?
return sql;
}
int offset = getOffset(getPage(), count);
String alias = getAliasWithQuote();

Expand Down