Oracle
1Z0-898 · Question #50
1Z0-898 Question #50: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-898 to reveal the answer and full explanation for question #50. The question stem and answer options stay visible for context.
Question
The developer is creating a Java Persistence model for a legacy database. The database contains customer and subscriptions. The subscriptions table has a foreign key to the Customer table, a foreign key to the magazines table, and a column that stores a java.util.Date (the subscription expiration date). The developer wants to create entities Customer and subscription to model these tables and to represent the relationship between customer and subscription as a java.util.Map. Which one of the following fields of the Customer entity accomplishes this task?
Options
- A@OneToMany
- B@ElementaryCollection
- C@OneToMany
- D@ElementaryCollection
- E@ElementaryCollection
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.