Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-14465

Support sorting on embedded fields

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 13.0.15.Final
    • None

      It seems that is not possible to sort a query result on a property that is contained in an embedded entity, even if the embedded relationship is one to one.
      So it is not possible for instance to perform the query:

      from fax.play.book b order by b.author.numberOfPublishedBooks desc
      

              fercoli Fabio Massimo Ercoli
              fercoli Fabio Massimo Ercoli
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: