我的一个实体中有一个 @ManyToOne 条目。如果我删除周围的实体,我会得到一个deleted object would be re-saved by cascade (remove deleted object from associations)
但我需要那里的级联选项,所以:我怎样才能级联删除旁边的任何东西,分别只是清除引用而不是级联删除?
我的一个实体中有一个 @ManyToOne 条目。如果我删除周围的实体,我会得到一个deleted object would be re-saved by cascade (remove deleted object from associations)
但我需要那里的级联选项,所以:我怎样才能级联删除旁边的任何东西,分别只是清除引用而不是级联删除?