Back Forum Reply New

a different object with the same identifier exception

i am getting the following error when updating a reply object.can someone help me with this ..

org..orm.hibernate3.HibernateSystem  Exception: a different object with the same identifier value was already associated with the session: [com.ips.model.Reply#16]; nested exception is org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [com.ips.model.Reply#16]

Thanks

See the hibernate FAQ and search the forum. Basically you have new object which you are trying to reattach to the object which already contains an instance of it attached. You can either attach the object to a different session or clear the existing instance from the current session.
¥
Back Forum Reply New