Hibernate Table per concrete class is throwing org.hibernate.NonUniqueObjectException:
VenkataPrasad Regula
Ranch Hand
Joined: Jun 30, 2011
Posts: 63
posted
0
I have an abstract class and two concrete class which extend these abstract class. I have mapped all the three in a employee.hbm.xml file. It is throwing the following error. My db is mysql
Exception in thread "main" org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [temp.ContractEmployee#0]