Tuesday 27 August 2019

Spring Data JPA: Exploring PagingAndSortingRepository


PagingAndSortingRepository interface provides methods to retrieve entities using the pagination and sorting abstraction.

Below table summarizes the methods provided by PagingAndSortingRepository interface.

Method
Description
Returns all entities sorted by the given options.

Returns a Page of entities meeting the paging restriction provided in the Pageable object.





Previous                                                    Next                                                    Home

No comments:

Post a Comment