Consider the following classes:
11.©Entity Auction {
12. @ld int id;
13. @OneToOne Item item;
14.}
11.©Entity 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?
A.
The relationship is mapped to a foreign key in the ITEMtable.
B.
Therelationship is mapped usingajointableAUCTIONJTEM.
C.
The relationship is mappedtoaforeignkeyinthe AUCTIONtable.
D.
The relationshipis mapped to foreignkeysinbothITEMandAUCTION tables.