nerdexam
Oracle

1Z0-860 · Question #176

Click the Exhibit button. A developer wants to have bookingDate stored in table BOOKING, flight Number in table FLIGHTBOOKING, and hotelName in table HOTELBOOKING. Which code, inserted at Line 11 of…

The correct answer is D. @lnheritance(strategy=JOINED). See the full explanation below for the reasoning.

Question

Click the Exhibit button. A developer wants to have bookingDate stored in table BOOKING, flight Number in table FLIGHTBOOKING, and hotelName in table HOTELBOOKING. Which code, inserted at Line 11 of class Booking, is appropiate for this strategy?

Options

  • A©Joined
  • B@SingleTable
  • C@TablePerClass
  • D@lnheritance(strategy=JOINED)
  • E@lnheritance(strategy=SINGLE_TABLE)
  • F@lnheritance(strategy=TABLE_PER_CLASS)

How the community answered

(26 responses)
  • B
    4% (1)
  • D
    81% (21)
  • E
    4% (1)
  • F
    12% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice