nerdexam
Oracle

1Z0-860 · Question #196

1Z0-860 Question #196: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #196. The question stem and answer options stay visible for context.

Question

Given the following code snippet of an EJB 3.0 entity class: 10.〦ntity 11. @Table(name="ORDERS") 12. public class Orderj.... } A developer wants to change the name of the database table for the Order entity from ORDERS to CUSTOM, without changing the Java source code file. Which option can the developer use?

Options

  • AOverride the name using the table subelement within the persistence unit's persistence.xml file.
  • BThis is NOT possible in a portable EJB 3.0 application.
  • CAdd a custommapping.xml file to the persistence unit, override the name using the table subelement,
  • DAdd a custommapping.xml file to the persistence unit, override the name using the table subelement,

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.

Full 1Z0-860 Practice