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

Atlassian JIRA | Sergey Zhukov | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    I have this exception approximately at backup time and no backup archive in backup directory. 2004-03-03 05:45:11 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception org.springframework.orm.hibernate.HibernateSystemException: Batch update row count wrong: 0; nested exception is net.sf.hibernate.HibernateException: Batch update row count wrong: 0 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 org.springframework.orm.hibernate.HibernateTemplate.save(HibernateTemplate.java:297) at com.atlassian.confluence.user.persistence.dao.hibernate.ConfluencePropertySetDAO.setImpl(Co nfluencePropertySetDAO.java:37) at com.opensymphony.module.propertyset.hibernate.HibernatePropertySet.setImpl(HibernatePropert ySet.java:166) at com.opensymphony.module.propertyset.AbstractPropertySet.set(AbstractPropertySet.java:570) at com.opensymphony.module.propertyset.AbstractPropertySet.setDate(AbstractPropertySet.java:25 3) at com.atlassian.confluence.user.ConfluenceLoginInterceptor.afterLogin(ConfluenceLoginIntercep tor.java:47) ..........

    Atlassian JIRA | 1 decade ago | Sergey Zhukov
    net.sf.hibernate.HibernateException: Batch update row count wrong: 0
  2. 0

    I have this exception approximately at backup time and no backup archive in backup directory. 2004-03-03 05:45:11 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception org.springframework.orm.hibernate.HibernateSystemException: Batch update row count wrong: 0; nested exception is net.sf.hibernate.HibernateException: Batch update row count wrong: 0 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 org.springframework.orm.hibernate.HibernateTemplate.save(HibernateTemplate.java:297) at com.atlassian.confluence.user.persistence.dao.hibernate.ConfluencePropertySetDAO.setImpl(Co nfluencePropertySetDAO.java:37) at com.opensymphony.module.propertyset.hibernate.HibernatePropertySet.setImpl(HibernatePropert ySet.java:166) at com.opensymphony.module.propertyset.AbstractPropertySet.set(AbstractPropertySet.java:570) at com.opensymphony.module.propertyset.AbstractPropertySet.setDate(AbstractPropertySet.java:25 3) at com.atlassian.confluence.user.ConfluenceLoginInterceptor.afterLogin(ConfluenceLoginIntercep tor.java:47) ..........

    Atlassian JIRA | 1 decade ago | Sergey Zhukov
    net.sf.hibernate.HibernateException: Batch update row count wrong: 0

    Root Cause Analysis

    1. net.sf.hibernate.HibernateException

      Batch update row count wrong: 0

      at net.sf.hibernate.impl.BatchingBatcher.doExecuteBatch()
    2. net.sf.hibernate
      SessionImpl.save
      1. net.sf.hibernate.impl.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:65)
      2. net.sf.hibernate.impl.BatcherImpl.executeBatch(BatcherImpl.java:122)
      3. net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2385)
      4. net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2340)
      5. net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2204)
      6. net.sf.hibernate.impl.SessionImpl.forceFlush(SessionImpl.java:740)
      7. net.sf.hibernate.impl.SessionImpl.doSave(SessionImpl.java:820)
      8. net.sf.hibernate.impl.SessionImpl.saveWithGeneratedIdentifier(SessionImpl.java:761)
      9. net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:720)
      9 frames
    3. Hibernate
      HibernateTemplate.save
      1. org.springframework.orm.hibernate.HibernateTemplate$7.doInHibernate(HibernateTemplate.java:299)
      2. org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:149)
      3. org.springframework.orm.hibernate.HibernateTemplate.save(HibernateTemplate.java:297)
      3 frames
    4. com.atlassian.confluence
      ConfluencePropertySetDAO.setImpl
      1. com.atlassian.confluence.user.persistence.dao.hibernate.ConfluencePropertySetDAO.setImpl(ConfluencePropertySetDAO.java:37)
      1 frame
    5. com.opensymphony.module
      AbstractPropertySet.set
      1. com.opensymphony.module.propertyset.hibernate.HibernatePropertySet.setImpl(HibernatePropertySet.java:166)
      2. com.opensymphony.module.propertyset.AbstractPropertySet.set(AbstractPropertySet.java:570)
      2 frames