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

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 Google Groups by Thomas Zangl, 1 year ago
via Google Groups by Ole Hornischer, 6 months ago
Data has changed. updated [0] rows
javax.persistence.OptimisticLockException: Data has changed. updated [0] rows
at com.avaje.ebeaninternal.server.core.PersistRequestBean.checkRowCount(
at com.avaje.ebeaninternal.server.persist.dml.UpdateHandler.execute(
at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.execute(
at com.avaje.ebeaninternal.server.persist.dml.DmlBeanPersister.update(
at com.avaje.ebeaninternal.server.persist.DefaultPersistExecute.executeUpdateBean(
at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeNow(
at com.avaje.ebeaninternal.server.core.PersistRequestBean.executeOrQueue(
at com.avaje.ebeaninternal.server.persist.DefaultPersister.update(
at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveEnhanced(
at com.avaje.ebeaninternal.server.persist.DefaultPersister.saveRecurse(

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.