Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!