Oracle
1Z0-900 · Question #22
1Z0-900 Question #22: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-900 to reveal the answer and full explanation for question #22. The question stem and answer options stay visible for context.
Manage Persistence using JPA Entities and BeanValidation
Question
Given the code fragment: How can you apply DateConverter to the birthday field?
Exhibit
Options
- Aby adding @Convert(to=Date.class) at line 3
- Bby invoking the setConverter(DateConverter.class) method on the EntityManager object
- Cby adding @Converter(autoApply=true) at line 1
- Dby adding @Convert((DateConverter.class)) at line 2
Unlock 1Z0-900 to see the answer
You've previewed enough free 1Z0-900 questions. Unlock 1Z0-900 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#JPA Converters#@Convert annotation#Entity field mapping#Date conversion
