Broadcom-VMware
2V0-72.22 · Question #96
Refer to the exhibit. Which two methods will be implemented at runtime if declared in a Spring Data JPA Repository? (Choose two.)
The correct answer is C. public Customer findByEmail(String email); D. public Customer findFirstByOrderDateBetween(Date d1, Date d2). See the full explanation below for the reasoning.
Question
Refer to the exhibit. Which two methods will be implemented at runtime if declared in a Spring Data JPA Repository? (Choose two.)
Exhibit
Options
- Apublic Customer getsingle(Long id);
- Bpublic Customer findFirstOrderDateMax();
- Cpublic Customer findByEmail(String email);
- Dpublic Customer findFirstByOrderDateBetween(Date d1, Date d2);
- Epublic Customer findCustomerByName(String name);
How the community answered
(55 responses)- A2% (1)
- B5% (3)
- C82% (45)
- E11% (6)
Community Discussion
No community discussion yet for this question.
