Saturday, July 25, 2009

Unknown Entity with Hibernate 3

While using Hibernate 3 and JPA, remember to place persistence.xml in the classes/META-INF folder. Otherwise, you will get Exception in thread "main" org.hibernate.MappingException: Unknown entity

Labels: , ,

0 Comments:

Post a Comment

<< Home