Oracle
1Z0-860 · Question #204
1Z0-860 Question #204: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #204. The question stem and answer options stay visible for context.
Question
Consider the following classes: 11.〦ntity Auction { 12. @ld int id; 13. @OneToOne Item item; 14.} 11.〦ntity Itemj 12. @ld int id; 13. @OneToOne (mappedBy="item") Auction auction; 14. } Given that the Auction entity maps to an AUCTION database table and the Item entity maps to an ITEM database table, which statement is correct assuming there is NO mapping descriptor?
Options
- AThe relationship is mapped to a foreign key in the ITEM table.
- BThe relationship is mapped using a join table AUCTION ITEM.
- CThe relationship is mapped to a foreign key in the AUCTION table.
- DThe relationshipis mapped to foreign keys in both ITEM and AUCTION tables.
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.