We've had a number of support issues with this error in the logs:

      ERROR org.hibernate.event.def.AbstractFlushingEventListener: Could not synchronize database state with session
      org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1

      The Crowd method which causes this error varies. I will link related support issues for dev review.

            [CWD-2703] Hibernate StaleStateExceptions in Crowd

              justin@atlassian.com Justin Koke
              13e918c6b49b José M. Arnesto
              Affected customers:
              3 This affects my team
              Watchers:
              22 Start watching this issue

                Created:
                Updated:
                Resolved: