public Response<List<Some>> getXXX(Integer page, Integer pageSize) { Pageable paging = PageRequest.of(page, pageSize); List<SomeClass> test = xxxRepo.findByXXXX(100, paging);
I can go with this
Recommended Posts