Spring Data JPA Query Method - Find by Between | Date Range (StartDate and EndDate) Example
HTML-код
- Опубликовано: 7 сен 2024
- In the video, you will learn how to create the Spring Data JPA query method using Between predicate keyword.
We will create a query method for the date range (between the start date and end date)
Complete Udemy course at www.udemy.com/...
#udemy #course #video
This video is from my Udemy course: Learn spring data jpa with hibernate.
85% early bird discount for my students. Use coupon: JG_EARLY_BIRD
Course link: www.udemy.com/course/learn-spring-data-jpa-with-hibernate/?couponCode=JG_EARLY_BIRD
Waiting for more videos like this ,🥰
Thanks for the video..i have query here findbydatecreatedbetween method return dates between strt and end date and it including strt and end date also....,
How we can return only dates between strt and end date without returnind strt and enddate
I honestly don't see the point of having those comments for the repository methods. They don't tell you any more than the method name and input parameters already do.
getUserById for example; if you have the context that the method returns User, the method explicitly tells you that it finds the User with the input id.