Oracle
1Z0-860 · Question #276
1Z0-860 Question #276: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #276. 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 ITEMtable.
- BThe relationship is mapped usingajointableAUCTIONJTEM.
- CThe relationship is mappedtoaforeignkeyinthe AUCTIONtable.
- DThe relationshipis mapped to foreignkeysinbothITEMandAUCTION 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.