I am getting the below error in my WebApp :
Handling an unexpected exception in webApp:
- javax.servlet.error.status_code = 500
- javax.servlet.error.exception_type = class org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException
- javax.servlet.error.message = Object of class [domain.entity.common.dataEntity] with identifier [110837262]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [domain.entity.common.dataEntity
I am not sure why this error occurs and it occurs in the below line.
SpecEntity specTemp = this.persistService.merge(specTemp);
Can someone please help here ..