Query Offset Problem in Pagination (Spring Boot/JPA)

Spring Data JPA’s Pageable uses offset pagination.