org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect):

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Syed Muddasir Ahmed
, 1 year ago
via hibernate.org by Unknown author, 2 years ago
Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [ar.com.tgs.spac.domain.solicitud.SolicitudEnHora#[Contrato:ED004, Numero de Solicitud:304]]
via alfresco.com by Unknown author, 2 years ago
Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.alfresco.repo.workflow.jbpm.AlfrescoTimer#1497]
via https://bugzilla.redhat.com/bugzilla/ by Dennis Crissman, 1 year ago
Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.candlepin.model.Pool#8a85f986401105de01403b973f52419c]
via Google Groups by Dhanushka kottegoda (JIRA), 3 months ago
Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.mifos.accounts.loan.business.LoanFeeScheduleEntity#49]
via Stack Overflow by uti.devel
, 2 years ago
Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [MyPersistentObject#2]
org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect):
at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2528)
at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:77)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.jboss.seam.persistence.HibernateSessionProxy.flush(HibernateSessionProxy.java:143)

Users with the same issue

8 times, 7 months ago
2 times, 1 year ago
7 times, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.