filmov
tv
Search/Filter REST API using Spring Data JPA and Specifications Part 4 Repository find all

Показать описание
Defining specification that we can use in findall repository method call.
BlogSpecification blogSpecification1 = new BlogSpecification(new SearchCriteria("title",":", search)).
Adding pagination
Integer pageNo, Integer pageSize, String sortBy, String search, String tag.
BlogSpecification blogSpecification1 = new BlogSpecification(new SearchCriteria("title",":", search)).
Adding pagination
Integer pageNo, Integer pageSize, String sortBy, String search, String tag.