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

    Dumb Question - Query API, for pagination

    Brian Newbie

      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


      and then an even better one is added here:


      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?