• Post Reply Bookmark Topic Watch Topic
  • New Topic

JPA: Translating Annotations to Metadata (orm.xml)

Saul London
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to translate the commented annotations in the next two classes to metadata:

To do it I have created the next file orm.xml:

Which I reference from the persistence.xml:

Having done only these modifications, the next exception appears when trying to execute the application:

Anybody knows how I can solve it? Or where I can search?

Thank you in advance
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!