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 @@
# newest-first feed of 25 books, 5 per page; book-24 is deleted between the two requests
offset page 0: [book-25, book-24, book-23, book-22, book-21]
keyset window 0: [book-25, book-24, book-23, book-22, book-21]
-- book-24 deleted --
offset page 1: [book-19, book-18, book-17, book-16, book-15]
keyset window 1: [book-20, book-19, book-18, book-17, book-16]
offset skipped book-20: true