org.hibernate.DuplicateMappingException: Duplicate class/en

org.hibernate.DuplicateMappingException: Duplicate class/en

Postby haretu » Mon Jul 09, 2012 9:50 am

org.hibernate.DuplicateMappingException: Duplicate class/entity mapping project
I had this error
org.hibernate.DuplicateMappingException: Duplicate class/entity mapping project.hibernate.User
and I was searching on Internet about that.

reason 1: duplicate entry in sessionfactory bean define.

reason 2: mismatch name in .hb.xml and its pojo java
haretu
 
Posts: 132
Joined: Sat Jan 08, 2011 9:56 pm

Return to JAVA

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron