java - JPA pagination for different methods -


is possible implement pagination other method except findall(pageable) ?
example, if have own method findbynameorage:

public interface jpapersondao extends jparepository<person, long> {   list<person> findbynameorage(string name, int age); } 

yes possible .

page<person> findbynameorage(string name, int age,pageable pageable); 

Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -