ยท
Sometimes, your JPA query returns a lot of results.
To handle such amount of data, you should use pagination.
And thanksfully, JPA provides an API for such needs.
1๏ธโฃ ๐๐ก๐ ๐ซ๐๐ฉ๐จ๐ฌ๐ข๐ญ๐จ๐ซ๐ฒ ๐พ ๐๐๐
2๏ธโฃ ๐๐ก๐ ๐ฌ๐๐ซ๐ฏ๐ข๐๐ ๐จโ๐ง ๐๐๐
3๏ธโฃ ๐๐ก๐ ๐๐จ๐ง๐ญ๐ซ๐จ๐ฅ๐ฅ๐๐ซ ๐ฎโโ๏ธ ๐๐๐