1 Reply Latest reply on Oct 29, 2010 10:39 AM by lvdberg

    JPA sub query examples for use in components.xml

    paulmkeogh

      Hi,


      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 ?


      Thanks,