net.sf.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) for entity.Child instance with identifier: entity.ChildKey@1dc0e7a[childKey1=test key1,childKey2=test key2]

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Hibernate JIRA by Takeshi SAKAKIBARA, 1 year ago
Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) for entity.Child instance with identifier: entity.ChildKey@1dc0e7a[childKey1=test key1,childKey2=test key2]
via Hibernate JIRA by Takeshi SAKAKIBARA, 1 year ago
Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) for entity.Child instance with identifier: entity.ChildKey@1dc0e7a[childKey1=test key1,childKey2=test key2]
via sourceforge.net by Unknown author, 1 year ago
Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) for com.illumining.client.domain.impl.DiscussionMessageImpl instance with identifier: 21
via Stack Overflow by siddhesh jog
, 2 years ago
Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) for com.cmp1.project1.hibernate.gen.Prjexe instance with identifier: 37120123
net.sf.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) for entity.Child instance with identifier: entity.ChildKey@1dc0e7a[childKey1=test key1,childKey2=test key2]
at net.sf.hibernate.persister.AbstractEntityPersister.check(AbstractEntityPersister.java:506)
at net.sf.hibernate.persister.EntityPersister.update(EntityPersister.java:687)
at net.sf.hibernate.persister.EntityPersister.update(EntityPersister.java:642)
at net.sf.hibernate.impl.ScheduledUpdate.execute(ScheduledUpdate.java:52)
at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2418)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2372)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2240)
at entity.Client.doInsert(Client.java:65)
at entity.Client.main(Client.java:33)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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