# Row was updated or deleted by another transaction after upgrading to Spring Boot 3.5 (Hibernate 6.6.29.Final)

**URL:** <https://discourse.hibernate.org/t/row-was-updated-or-deleted-by-another-transaction-after-upgrading-to-spring-boot-3-5-hibernate-6-6-29-final/11950>\
**Category:** Hibernate ORM\
**Created:** [November 4, 2025, 12:24pm UTC](https://discourse.hibernate.org/t/row-was-updated-or-deleted-by-another-transaction-after-upgrading-to-spring-boot-3-5-hibernate-6-6-29-final/11950 "2025-11-04T12:24:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Md\_Nisar\_Ahmed](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/md_nisar_ahmed/32/4163_2.png) [@Md\_Nisar\_Ahmed](https://discourse.hibernate.org/u/Md_Nisar_Ahmed)\
**Post date:** [November 4, 2025, 12:24pm UTC](https://discourse.hibernate.org/t/row-was-updated-or-deleted-by-another-transaction-after-upgrading-to-spring-boot-3-5-hibernate-6-6-29-final/11950/1 "2025-11-04T12:24:30Z")

</div>

Hi community,

I recently upgraded my project from **Spring Boot 2.5.x** (Hibernate 5.x) to **Spring Boot 3.5.x** , which uses **Hibernate 6.6.29.Final** , and I’m now encountering the following error during update operations:

```java
org.hibernate.StaleStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect)

```

```auto
@OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.MERGE, orphanRemoval = true, mappedBy = "parent")
@Where(clause = "IS_DELETED = 0 OR IS_DELETED IS NULL")
private List<KpiKpiGraphRelationship> kpiKpiChildRelationship = new ArrayList<>();

```

---

<div class="post-metadata">

**Author:** ![beikov](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/beikov/32/258_2.png) [@beikov](https://discourse.hibernate.org/u/beikov)\
**Post date:** [November 4, 2025, 12:54pm UTC](https://discourse.hibernate.org/t/row-was-updated-or-deleted-by-another-transaction-after-upgrading-to-spring-boot-3-5-hibernate-6-6-29-final/11950/2 "2025-11-04T12:54:07Z")

</div>

Please post the full stack trace.
