mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
#746 - SqlQuery with named parameter and limit/offset gives SQL exception
This commit is contained in:
1 parent
c793d6652f
commit
c30e3bf78c
2 files changed
+17
-1
No files matched your search
@@ -219,7 +219,7 @@ public final class RelationalQueryRequest {
|
||||
int maxRows = query.getMaxRows();
|
||||
if (firstRow > 0 || maxRows > 0) {
|
||||
return ebeanServer.getDatabasePlatform().getBasicSqlLimiter()
|
||||
.limit(query.getQuery(), firstRow, maxRows);
|
||||
.limit(sql, firstRow, maxRows);
|
||||
}
|
||||
return sql;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user