Oracle
1Z0-860 · Question #291
Given the following code snippet from an EJB 3.0 entity class: 1. package com.foo; 2. // more code here... 10.〦ntity 11. @Table(name="A") 12. public class Order { And the following excerpt from the…
The correct answer is B. B. See the full explanation below for the reasoning.
Question
Given the following code snippet from an EJB 3.0 entity class: 1. package com.foo; 2. // more code here... 10.〦ntity 11. @Table(name="A") 12. public class Order { And the following excerpt from the persistence unit's orm.xml mapping file: 10. <entity class="com.foo.Order" access="PROPERTY"> 11. <table name="B7> What is the name of the database table for Order objects?
Options
- AA
- BB
- CA_B
- DORDER
- EThe result is unpredictable.
How the community answered
(25 responses)- B80% (20)
- C4% (1)
- D4% (1)
- E12% (3)
Community Discussion
No community discussion yet for this question.