tags:

views:

76

answers:

1

I have two jar files with hibernate classes mapped. One jar file is perfectly working and for the next jar file it is not mapped. I get Unknown Entity exception. Persistence.xml is good but i dont know why this is happening. Any guess what mite be the issue???

A: 

Check if you have @Entity on your Equipment class.

This annotation (@Entity) is marking a class as Hibernate (JPA) entity.

Bozho