Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Entity
- public class Book {
- Date from, to;
- }
- //CrudRepository<Book>
- findByFromDateBetween(Date departure, Date arrival);
- findByFromDateBetweenAndToDateBetween(Date departure, Date arrival);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement