Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1898

Pagination support for dynamic finders

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.1.0.RELEASE
    • Fix Version/s: None
    • Component/s: DYNAMIC FINDERS, WEB MVC
    • Labels:
      None

      Description

      It would be nice to have pagination support also for dynamic finders and not only for "findAll", since they might return big result sets as well.

      This would require:

      • count() method in the entity for each generated finder, to determine the total amount of results
      • find...Entries(int firstResult, int maxResults) method for each generated finder OR to call setFirstResult / setMaxResults on the Query in the Spring MVC controller
      • some further changes to the genrated Spring MVC controller methods for the finders

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stefanoc Stefan Ocke
            • Votes:
              11 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: