From the course: Quarkus Essential Training
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Challenge: Data access - Quarkus Tutorial
From the course: Quarkus Essential Training
Challenge: Data access
(quirky music) - [Narrator] Now it's time to do our next challenge. This one for data access. So now for the instructions, I want you to create entities for Customer and Vendor. And these are the other two tables that we created in the schema file. I want you to create a repository for both of them. I also want you to implement findByEmail on Customer, and I want you to implement findByEmail on Vendor. I also want you to implement a findByName on Vendor, and there's some extra credit here to add case-insensitivity to the query. And there's a hint I'm going to give you, and that's the lower keyword. Now, there's a guide on this on Quarkus.io to help you through this if you need help, but it should be relatively straightforward until you get to those findByEmail queries. And I'm going to add that as a little bit of a challenge to this challenge exercise. Go ahead and have fun with that, and I'll be back with my solution.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.