Spring Boot, Spring Data REST and Query Parameters

I have Spring Data REST repository that takes query parameters. It uses a PagingAndSortingRepository and looks like this: [code language=”java”] @RepositoryRestResource @CrossOrigin(origins = "http://localhost:8000") public interface IRestaurantRepository extends PagingAndSortingRepository<Restaurant, Long> { public Page<Restaurant> findByNameContaining(String name, Pageable pageable); } [/code] You would get an error if you were to execute the…

Continue reading