Oracle
1Z0-898 · Question #28
1Z0-898 Question #28: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-898 to reveal the answer and full explanation for question #28. The question stem and answer options stay visible for context.
Question
The developer has modeled student interests as a set <String>: @Entity public class Student { @Id int student Id; string name; @ElementaryCollection Set <String> Interests; . . . } The developer wants the values of this set to be stored using a column named student_intersets. Select the item below that accomplishes this task:
Options
- A@ElementaryCollection
- B@ElementaryCollection (column = "student_intersets") Set<String>
- C@ElementaryCollection @CollectionTable (column = "student_intersets")
- D@ElementaryCollection @CollectionTable (column = @column(name =
Unlock 1Z0-898 to see the answer
You've previewed enough free 1Z0-898 questions. Unlock 1Z0-898 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.