Spring Data JPA Query Method - Find by Between | Date Range (StartDate and EndDate) Example

preview_player
Показать описание
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)

#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

JavaGuides
Автор

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

uma
Автор

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.

CottidaeSEA