Quantcast
Viewing all articles
Browse latest Browse all 11

Spring Roo Exception: Row was updated or deleted by another transaction

While playing around with Spring roo I see this error while running the integration tests via

perform tests

roo org.springframework.orm.jpa.JpaOptimisticLockingFailureException: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction

The problem was here, that my database table which stored the specific entities had a version column but only NULL values inside. I have replaced the NULLs with an numeric value and then it worked.

The post Spring Roo Exception: Row was updated or deleted by another transaction appeared first on Happy Coding Journal.


Viewing all articles
Browse latest Browse all 11

Trending Articles