From the course: Creating Spring Boot Microservices

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Challenge: Create a JPQL query method

Challenge: Create a JPQL query method - Spring Boot Tutorial

From the course: Creating Spring Boot Microservices

Challenge: Create a JPQL query method

- [Instructor] So I have a challenge for you in the TourService class. I have two new methods on the service. One is called lookup by difficulty and lookup by package, and they are currently returning empty lists. And I want query methods on the tour repository that will look up all the tours by difficulty, and then look up a list of tours by a certain package name. See if you can add two methods that do that and then invoke them in this service.

Contents