• Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We need to translate the sorting semantics in HQL/Criteria into MQL counterpart.

      E.g. below is one example HQL usage involving sorting or order by:

      List<Person> persons = entityManager.createQuery("select p from Person p order by p.name", Person.class).getResultList(); 

      see relevant chapter of Hibernate User Guide: https://docs.jboss.org/hibernate/orm/6.6/userguide/html_single/Hibernate_User_Guide.html#hql-order-by

       

      Note that Limit (skip/offset) feature is out of scope of this ticket.

            Assignee:
            nathan.xu@mongodb.com Nathan Xu
            Reporter:
            nathan.xu@mongodb.com Nathan Xu
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: