hibernate-reactive
hibernate-reactive copied to clipboard
HibernateException: A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance
See https://github.com/quarkusio/quarkus/issues/41198
UPDATE: This is working now in Quarkus, but we should add a test to keep track of it
does not seem explicitly problem in hibernate-reactive, problem occurs in traditional-hibernate too
io.quarkus:quarkus-hibernate-orm:3.12.2
org.hibernate.orm:hibernate-core:6.5.2.Final
Thanks for the info @flyinfish
Similar issue on Hibernate ORM -- perhaps the same root cause, perhaps not -- https://hibernate.atlassian.net/browse/HHH-18389. On Quarkus: https://github.com/quarkusio/quarkus/issues/7462
I am experiencing a comparable or identical issue. Following the upgrade from Spring Boot 3.2.x to 3.3.x, I encountered the following problem: org.hibernate.HibernateException: A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance.
Hibernate ORM core version 6.5.2.Final
Can some once confirm if any code changes are required on this , i am willing to work on this feature .
It seems this is working now with the latest Quarkus, but we should add a test in Hibernate Reactive to keep track of it.