Handling Paginated Product Listings the Right Way with Spring Data JPA
The Context
findAll() returning a List<Product> works fine when the catalog has thirty items. It stops being acceptable the moment the table grows past a few thousand rows. Every call pulls the entire
mateoslp.hashnode.dev7 min read