← Quiz: JPA and Hibernate: all 10 questions
Quiz: JPA and Hibernate · Question 2 of 10
What query does findByFeeLessThanEqual(int max) run?
What query does findByFeeLessThanEqual(int max) run?
- A.fee > max
- B.fee <= max
- C.fee < max
- D.fee = max
Answer & explanation
Correct answer: fee <= max
Spring Data derives the condition from the method name.
Can you get the rest right without peeking?
Take the timed Quiz: JPA and Hibernate quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →