net.sf.hibernate.HibernateException: Batch update row count wrong: 0

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 Atlassian JIRA by Sergey Zhukov, 1 year ago
Batch update row count wrong: 0
via Atlassian JIRA by Sergey Zhukov, 1 year ago
Batch update row count wrong: 0
via Coderanch by Awais Bajwa, 1 year ago
Batch update row count wrong: 0
via Coderanch by Awais Bajwa, 1 year ago
Batch update row count wrong: 0
via Coderanch by Sathya Sekar, 1 year ago
Batch update row count wrong: 0
via Coderanch by Edward Chen, 1 year ago
net.sf.hibernate.HibernateException: Batch update row count wrong: 0
at net.sf.hibernate.impl.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:65)
at net.sf.hibernate.impl.BatcherImpl.executeBatch(BatcherImpl.java:122)
at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2385)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2340)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2204)
at net.sf.hibernate.impl.SessionImpl.forceFlush(SessionImpl.java:740)
at net.sf.hibernate.impl.SessionImpl.doSave(SessionImpl.java:820)
at net.sf.hibernate.impl.SessionImpl.saveWithGeneratedIdentifier(SessionImpl.java:761)
at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:720)
at org.springframework.orm.hibernate.HibernateTemplate$7.doInHibernate(HibernateTemplate.java:299)
at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:149)
at com.atlassian.confluence.user.persistence.dao.hibernate.ConfluencePropertySetDAO.setImpl(ConfluencePropertySetDAO.java:37)
at com.opensymphony.module.propertyset.hibernate.HibernatePropertySet.setImpl(HibernatePropertySet.java:166)
at com.opensymphony.module.propertyset.AbstractPropertySet.set(AbstractPropertySet.java:570)

Users with the same issue

You are the first who have seen this exception.

Write tip

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