[JAVA] [JPA] Personal memo Paging processing is very convenient if you use Pageable

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

[JPA] Personal memo Paging processing is very convenient if you use Pageable
JAWJAW is convenient if you use WordNet from Java
If you want to make a Java application a Docker image, it is convenient to use jib.
Delegate is convenient to use when you want to reuse parts