Does Hibernate paginate JOIN FETCH queries in memory instead of SQL?
I am designing a paginated endpoint in a Spring application using Hibernate ORM 6.x as the JPA provider, backed by PostgreSQL. The query loads parent entities together with a lazy collection, so I want to combine a JOIN FETCH with setFirstResult() and setMaxResults() on a TypedQuery . My concern is the interaction between collection fetch joins and paginatio