2 qq 25736023 qq_25736023 于 2015.05.27 09:50 提问

dao.InvalidDataAccessApiUsageException

deleted object would be re-saved by cascade (remove deleted object from associations): [cn.jbit.demo.entity.ClaimVoucher#113]; nested exception is org.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations): [cn.jbit.demo.entity.ClaimVoucher#113]

求解决,删除主键数据时报错,设置了cascade=all,不能在删除时级联删除引用它的数据吗?

1个回答

ying2058
ying2058   2015.05.27 09:53

```


Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!