5 Replies Latest reply on Jul 12, 2006 5:41 AM by Simon Godden

    Best way of implementing pagination using JBPM

    Hari Krishna Newbie

      Hi,

      I have been using JBPM for quite sometime. I have a usecase where the user can see all the tasklist instances in the UI. I have accomplished this using the API "JbpmTemplate.findTaskInstances()". Since the list of tasks can get huge, we started implementing pagination/sorting/filtering. I have seen the jbpm hibernate queries present in hibernate.queries.hbm.xml and it doesn't contain queries that supports pagination. This is the common scenario where everyone might have come across and tackled it in different ways. Oneway that came into my mind is writing named query and implementing it. Please let me know the best way of doing it.

      Thanks and Regards,
      Hari