javax.persistence.OptimisticLockException: Data has changed. updated [0] rows

Google Groups | Thomas Zangl | 6 years ago
  1. 0

    javax.persistence.OptimisticLockException: Data has changed. updated [0] rows

    Google Groups | 6 years ago | Thomas Zangl
    javax.persistence.OptimisticLockException: Data has changed. updated [0] rows
  2. 0

    Re: [ebean] Saving Object Graph with One-to-Many Relationship Fails

    Google Groups | 4 years ago | Josh Kamau
    javax.persistence.OptimisticLockException: Data has changed. updated [0] rows sql[delete from order_item where uuid=? and version=?] bind[Binding Delete [order_item] where[uuid=8463813c-5369-461a-a9be-345fc051dd26, version=null, ]]
  3. 0

    OptimisticLockException when updating an entity

    GitHub | 4 years ago | karianna
    javax.persistence.OptimisticLockException: Data has changed. updated [0] rows sql[update tag set name=? where id=?] bind[null]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Delete bean with unloaded version property throws OptimisticLockException

    GitHub | 1 year ago | rbygrave
    javax.persistence.OptimisticLockException: Data has changed. updated [0] rows sql[delete from contact where id=?] bind[999999,]
  6. 0

    Optimistic Lock Exception

    GitHub | 3 years ago | aakldey
    play.api.Application$$anon$1: Execution exception[[OptimisticLockException: Data has changed. updated [0] rows sql[update users set email_validated=?, last_update=? where id=? and last_update=?] bind[null]]]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.persistence.OptimisticLockException

      Data has changed. updated [0] rows

      at com.avaje.ebeaninternal.server.core.PersistRequestBean.checkRowCount()
    2. avaje-ebeanorm
      Ebean.save
      1. com.avaje.ebeaninternal.server.core.PersistRequestBean.checkRowCount(PersistRequestBean.java:478)
      2. com.avaje.ebeaninternal.server.persist.dml.UpdateHandler.execute(UpdateHandler.java:104)
      3. com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.execute(DmlBeanPersister.java:104)
      4. com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.update(DmlBeanPersister.java:84)
      5. com.avaje.ebeaninternal.server.persist.DefaultPersistExecute.executeUpdateBean(DefaultPersistExecute.java:121)
      6. com.avaje.ebeaninternal.server.core.PersistRequestBean.executeNow(PersistRequestBean.java:418)
      7. com.avaje.ebeaninternal.server.core.PersistRequestBean.executeOrQueue(PersistRequestBean.java:444)
      8. com.avaje.ebeaninternal.server.persist.DefaultPersister.update(DefaultPersister.java:394)
      9. com.avaje.ebeaninternal.server.persist.DefaultPersister.saveEnhanced(DefaultPersister.java:314)
      10. com.avaje.ebeaninternal.server.persist.DefaultPersister.saveRecurse(DefaultPersister.java:286)
      11. com.avaje.ebeaninternal.server.persist.DefaultPersister.save(DefaultPersister.java:270)
      12. com.avaje.ebeaninternal.server.core.DefaultServer.save(DefaultServer.java:1477)
      13. com.avaje.ebeaninternal.server.core.DefaultServer.save(DefaultServer.java:1467)
      14. com.avaje.ebean.Ebean.save(Ebean.java:535)
      14 frames