Oracle
1Z0-898 · Question #36
1Z0-898 Question #36: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-898 to reveal the answer and full explanation for question #36. The question stem and answer options stay visible for context.
Question
A developer is creating an entity which is mapped to a table that has a primary key constraint defined on two character columns and would like to use mapping defaults as much as possible to simplify the code. Which two mapping options can be chosen? (Choose two.)
Options
- AUse an @id property that constructs a private field as a concatenation of two columns.
- BUse a separate class to map those two columns and use an @idclass annotation to denote I
- CUse a separate @Embeddable class to map those two columns and use an @EmbeddedId
- DUse a separate @Embeddable class to map those two column and add two fields or properties
- EUse a separate class to map those two columns. Specify that class using @Idclass annotation on
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.