Oracle
1Z0-860 · Question #242
1Z0-860 Question #242: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #242. The question stem and answer options stay visible for context.
Question
The Java Persistence entity Lineltem defines a composite primary key that is defined by the two columns ORDERID and LINEITEMID in the database. Which two are true? (Choose two.
Options
- ALineltem must define a primary key class to represent the composite primary key.
- BThe composite primary key is mapped as two fields in Lineltem. No extra primary key class is
- CThe combination of 〦mbedded and @Embeddable annotations can be used to denote the composite
- DThe semantics of the equals and hashCode methods of the primary key class must be consistent with
Unlock 1Z0-860 to see the answer
You've previewed enough free 1Z0-860 questions. Unlock 1Z0-860 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.