Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with entity mapping - orm.xml

 
Tong Wang
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic