OutOfMemoryError during pagination with join fetch in Hibernate ORM
In-Memory Pagination Behavior When utilizing setFirstResult() and setMaxResults() in Hibernate, the framework typically delegates pagination to the database using dialect-specific SQL clauses. However, a known behavior occurs when these methods are combined with join fetch on collection associations. In environments with small datasets, such as local develop