0 Replies Latest reply on Jan 6, 2005 5:26 AM by binario

    Dumb Question - Query API, for pagination

    binario

      Hi all,

      A little background first:
      I've been looking at using pagination according to best practices outlined by Gavin King and the hibernate group. Gavin proposes a solution here

      http://blog.hibernate.org/cgi-bin/blosxom.cgi/Gavin%20King/pagination.html

      and then an even better one is added here:

      http://www.hibernate.org/243.html

      However, I would like to know if this can be implemented using ejb3 stuff rather than hibernate stuff. The main classes that I need to replace for this are

      net.sf.hibernate.ScrollableResults and net.sf.hibernate.Query

      then the world could finally have a good common java pagination solution!

      However, in order to check if this actually works I need to check if the methods are supported in the javax.ejb.Query object etc. Therefore I am looking for an api. Is there any one out there?

      thanks,
      Binario