1 Reply Latest reply on Oct 29, 2010 10:39 AM by Leo van den berg

    JPA sub query examples for use in components.xml

    Paul Keogh Novice


      I want to put all my queries into components.xml if possible.

      I need a query that will return the last N rows of a sorted list - anything I've read suggests to use a sub-query but I cannot get it to work for me. I am using the Hibernate Console to test.

      Anyone got any examples they want to share ?