Hibernate pagination with collection fetch join: choosing between in-memory pagination, batch fetching, and a two-step ID query
Paginating a fetch-joined collection without loading the full result set I have a JPA query (Hibernate 6.x, Spring Data JPA) that fetches a parent entity together with a collection-valued association using join fetch , and the repository method also applies pagination via setFirstResult / setMaxResults (through Pageable ). The goal is a page of parent entiti