The first method allows you to pass an org.springframework.data.domain.Pageable instance to the query method to dynamically add paging to your statically defined query. The following example shows how to use a PagedResourcesAssembler as a controller method argument: Enabling the configuration, as shown in the preceding example, lets the PagedResourcesAssembler be used as a controller method argument. In fact, a derived delete query is a shortcut for running the query and then calling CrudRepository.delete(Iterable
Anthony Fontana Principal,
St Andrews Cathedral, Glasgow Clergy,
Articles S