Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1
Joined: Dec 30, 2008
thanks for your response. But I didn't get you.
Should I write @Entity (name = "Orders2") or not?
If I write so, then what will be the value of name?
Will it be the table name where the entity will
Please, look into my other questions.
I am stuck.
Joined: Feb 01, 2005
The entity name is defaulted to the unqualified name of the class. It is only needed to resolve class duplication issues, which never happens in real life.