For many years we’ve let you call setFirstResult() and setMaxResult() to slightly change the semantics of a query, since this is very useful for pagination. We should let you do a similar thing for ordering result sets. This is now trivial to implement with the new SQM model. |