org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1

Stack Overflow | Jils | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    grails/hibernate: get org.hibernate.StaleStateException in a Job

    Stack Overflow | 9 months ago | Jils
    org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1

    Root Cause Analysis

    1. org.hibernate.StaleStateException

      Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1

      at bosmonitor.MyJob$_execute_closure1.doCall()
    2. bosmonitor
      MyJob.execute
      1. bosmonitor.MyJob$_execute_closure1.doCall(MyJob.groovy:27)
      2. bosmonitor.MyJob.execute(MyJob.groovy:25)
      2 frames
    3. grails.plugins.quartz
      GrailsJobFactory$GrailsJob.execute
      1. grails.plugins.quartz.GrailsJobFactory$GrailsJob.execute(GrailsJobFactory.java:102)
      1 frame
    4. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
      2 frames