pagination: Spring Data JPA Page vs Slice vs keyset Window scrolling, with the SQL and REST shapes

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b4bLvQVbZweAqqf54x
This commit is contained in:
Claude
2026-11-16 11:13:56 +05:30
parent e3d1b550ae
commit 91938727f2
42 changed files with 1446 additions and 0 deletions
@@ -0,0 +1,7 @@
# Page<Product>: how many statements does each request issue? (25 books, 5 toys)
middle page page=1 size=10 rows=10 statements=2 totalElements=25
first page, partial page=0 size=10 rows=5 statements=1 totalElements=5
last page, partial page=2 size=10 rows=5 statements=1 totalElements=25
full page in the middle page=1 size=5 rows=5 statements=2 totalElements=25
last page, exactly full page=4 size=5 rows=5 statements=2 totalElements=25
page past the end page=5 size=10 rows=0 statements=2 totalElements=25