I am using struts and hibernate. I have a parent and child relation using set in hbm. In the action I am using session.saveOrUpdate() method to save but while s
session.saveOrUpdate()
its happen when you try to delete the same object and then again update the same object use this after delete
session.clear();