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

Limit the max result of a list

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.0.A1, 1.0.0.A2, 1.0.0.M1, 1.0.0.M2, 1.0.0.RC1, 1.0.0.RC2, 1.0.0.RC3, 1.0.0.RC4, 1.0.0.RELEASE, 1.0.1.RELEASE, 1.0.2.RELEASE
    • Fix Version/s: 1.1.0.M1
    • Component/s: @ ROO SHELL
    • Labels:
      None

      Description

      When requesting a list using url http://localhost:8080/petclinic/visit?page=1&size=10 you will receive 10 items.

      On bigger tables with 1 million or more records, the user can use this url http://localhost:8080/petclinic/visit?page=1&size=1000000.

      This lead to big load of the DB with a known result

      I think it can be limited to 100 results...

        Attachments

          Activity

            People

            Assignee:
            sschmidt Stefan Schmidt
            Reporter:
            alain Alain Janssens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: