Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This is using an Eclipse compiler, java language using Spring boot application. The dependencies of Spring boot are: Spring Boot DevTools Lombok Spring Data JPA
This is using an Eclipse compiler, java language using Spring boot application.
The dependencies of Spring boot are:
Spring Boot DevTools
Lombok
Spring Data JPA
H2 Database
MySQL Driver
Thymeleaf
Spring Web
Summary Create fresh or modify your appointment exercise from last time, this time adding methods to perform our amazing new JPARepository method tricks. Add enough properties and repository method signatures to be able to comfortably and easily perform at least seven unique types of information retrieval. To trigger the actions, create at least three small forms and at least four hyperlinks. For your forms, post @Request Params back to your Controller, and for your hyperlinks, retrieve hard-coded info with @PathVariable. You can also mix and match and choose the ways that are easiest for you in the future. Also, less explicit instructions given again today. This stuff is core for our course - figure it out and have fun! Step 1 Begin by copying your exercise from last class into a new project named something like ex31_JPARepository. Add a few more properties to your bean and form. How and what you choose to store is up to you but should be related to an Appointment if it is stored within an Appointment or similarly named bean. You may wish to consider startDate, startTime, endDate, endTime, personName, subject, fee, location, etc. Add enough Bootstrapped data to make your queries obvious. I recommend 10 or more entries. Step 2 Modify your repository interface to perform at least seven types of unique queries using the keywords described in the lecture. Pageable does count here (as in with and without for two queries), but explore some options! Today's exercise is as memorable and fun as you want to make it! Make me smile!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started