• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
  • Frits Walraven
  • fred rosenberger
  • salvin francis

JPA: Translating Annotations to Metadata (orm.xml)

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
this llama doesn't want your drama, he just wants this tiny ad for his mama
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic