• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in using ORM.xml JPA

 
Jai Pra
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Every time I configure orm.xml in the Persistance.xml, I am getting the below error:

E CWWJP0015E: An error occurred in the org.hibernate.ejb.HibernatePersistence persistence provider when it attempted to create the container entity manager factory for the XYZ persistence unit. The following error occurred: PersistenceUnit: XYZ Unable to build EntityManagerFactory

If I remove the entry from Persistance.xml it works fine, but the Entity Manager is not able to locate the entity class since I am not using JPA annotation
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic