Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.orm.jpa.JpaSystemException: A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance: eci.server.CRCOModule.entity.co.ChangeOrder.changeRequests; nested exception is org.hibernate.HibernateException: A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance: eci.server.CRCOModule.entity.co.ChangeOrder.changeRequests] with root cause
org.hibernate.HibernateException: A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance: eci.server.CRCOModule.entity.co.ChangeOrder.changeRequests
this.coEffect.clear();
this.coEffect = new HashSet<>(); //이 부분이 문제였던 것
Set<CoCoEffect> coCoEffectsList =