net.sf.hibernate.HibernateException: SQL update or deletion failed (row not found)

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 neil yang, 1 year ago
SQL update or deletion failed (row not found)
via Hibernate JIRA by neil yang, 1 year ago
SQL update or deletion failed (row not found)
via Coderanch by Madhu Kumar Vatts, 11 months ago
SQL insert, update or delete failed (row not found)
via Coderanch by Yashnoo lyo, 11 months ago
SQL insert, update or delete failed (row not found)
net.sf.hibernate.HibernateException: SQL update or deletion failed (row not found)
at net.sf.hibernate.impl.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:25)
at net.sf.hibernate.persister.EntityPersister.update(EntityPersister.java:611)
at net.sf.hibernate.persister.EntityPersister.update(EntityPersister.java:580)
at net.sf.hibernate.impl.ScheduledUpdate.execute(ScheduledUpdate.java:27)
at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2073)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2046)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:1989)
at h.TestCompany.main(TestCompany.java:115)

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.