1 Reply Latest reply on Jan 23, 2012 5:09 PM by gebuh

    Multiple order by

    chicco0386

      Hi all,
      I'm looking for set a multiple order by clause with the seam entityQuery...
      Can I do this with the setOrderColumn(String orderColumn) and setOrderDirection(String orderDirection)?


      Can you help me?
      Thank you

        • 1. Re: Multiple order by
          gebuh

          I think you use setOrder for multiple columns, so something like:
          setOrder("someColumn, anotherColumn")


          I'm not sure how or if you can differentiate the order direction (like desc for one and asc for the other).