Consider the following classes:
11. @Entity Auction {
12. @ld int id;
13. @OneToOne Item item;
14. }
11. @Entity Item {
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 ITEM table.
B.
The relationship is mapped using a join table AUCTION_ITEM.
C.
The relationship is mapped to a foreign key in the AUCTION table.
D.
The relationship is mapped to foreign keys in both ITEM and AUCTION tables.