SyntaxFix
Write A Post
Hire A Developer
Questions
I could successfully integrate Pagination in
spring-data-jpa-2.1.6
as follows.
@Query( value = “SELECT * FROM Users”, countQuery = “SELECT count(*) FROM Users”, nativeQuery = true) Page<User> findAllUsersWithPagination(Pageable pageable);