A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance
A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance oneToMany save() 호출할때 위와 같은 에러 발생. one 관계 - Entity 에서 Many 관계 테이블 정의를 아래와 같이 했을텐데 @OneToMany(cascade = CascadeType.ALL, orphanRemoval = true, fetch = FetchType.EAGER) @JoinColumn(name="userSeq") private Collection authorities = new ArrayList(); saveAll() 호출하기 전 아래와 같이 추가 해주면 된다. oneIntance.getAut..