#1269 - Paging queries should not ALWAYS append an order by ID ... but only when the order by is empty

This commit is contained in:
Rob Bygrave
2018-02-22 22:43:14 +13:00
parent 8ee68ac5e1
commit e3fac7c622
@@ -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.
*/