Given the following code snippet from an EJB 3.0 entity class:
1. package com.foo;
2. //more code here…
10. @Entity
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=”B”/>
What is the name of the database table for Order objects?
A.
A
B.
B
C.
A_B
D.
ORDER
E.
The result is unpredictable.