Deleted entity passed to persist exception

前端 未结 4 1021
情歌与酒
情歌与酒 2021-02-08 13:57

I have this kind of entities:

Document | n .. to ..1 | DocumentType | 1 .. to .. n | PropertyType | 1 .. to

4条回答
  •  花落未央
    2021-02-08 14:53

    It seems like the Cascade options are somewhere making the Entity Manager think that this object or some other object in the chain needs to be persisted when you call em.remove(document). Need more specifics...

提交回复
热议问题