• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JPA: Translating Annotations to Metadata (orm.xml)

 
Saul London
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic