Hibernate Pagination Integration: setFirstResult/setMaxResults with Dialect‑Specific LIMIT/OFFSET and FETCH FIRST/OFFSET
Goal: Verify that Hibernate’s setFirstResult and setMaxResults produce identical offset‑based pagination across PostgreSQL, MySQL, Oracle, and SQL Server when the query includes a non‑unique ORDER BY clause. Uncertainty: Different Hibernate releases may translate the same API call into dialect‑specific SQL differently, and some versions switch to in‑memory p