madhuyeggadi wrote:
I am using spring-hibernate3 for database queries , when I am working with the getHibernateTemplate().save() getting below exceptions.
org.springframework.orm.hibernate3.HibernateSystemException: a different object with the same identifier value was already associated with the session.
Caused by: org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session.
Can you please suggest on the above issue and how to resolve the above issue.
Try merge instead of save.