🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.fee > max
  2. B.fee <= max
  3. C.fee < max
  4. 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 →