*
The moose likes EJB and other Java EE Technologies and the fly likes Problem with entity mapping - orm.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Problem with entity mapping - orm.xml" Watch "Problem with entity mapping - orm.xml" New topic
Author

Problem with entity mapping - orm.xml

Tong Wang
Ranch Hand

Joined: Jun 20, 2005
Posts: 44
Hi,

I have a bunch of entities with persistence annotations and all worked well. Now that I need to remove the annotation and instead, use orm.xml to define the mapping. I did that for one of the entities and tried to deploy to JBoss 4.2.0 GA, but got an exception.

Here is my orm.xml:


And here is the exception I got:


Any help is appreciated.
 
 
subject: Problem with entity mapping - orm.xml
 
Similar Threads
orm.xml with JBoss
No identifier specified for entity:
Problem with DataSource
Unable to deploy ejb3 entity bean with Oracle Datasource
JPA @NamedNativeQuery and scalar results