Issue
I'm trying to get all the Reservations for a user with username that are after the current date or equal the current date
Do I need to use:
List<Reservation> findReservationsByUsernameAndDateGreaterThanEqual(String username, Date date);
OR
List<Reservation> findReservationsByUsernameAndDateIsGreaterThanEqual(String username, Date date);
What is the difference between them?
Solution
The difference is literally the Is
part. Functionally they are the same.
Answered By - Jens Schauder
Answer Checked By - David Goodson (JavaFixing Volunteer)