mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1269 - Paging queries should not ALWAYS append an order by ID ... but only when the order by is empty
This commit is contained in:
@@ -588,6 +588,11 @@ public interface SpiQuery<T> extends Query<T>, TxnProfileEventCodes {
|
||||
*/
|
||||
boolean isRawSql();
|
||||
|
||||
/**
|
||||
* Return true if the query should have an order by appended automatically.
|
||||
*/
|
||||
boolean checkPagingOrderBy();
|
||||
|
||||
/**
|
||||
* Return the Order By clause or null if there is none defined.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user