翻译org.hibernate.exception.Constraint ViolationException:无法执行语句
由于设置了关联关系;删除one的一方:one中有包含mang方(
即删除班级而班级中有学生a)造成的;应先移除班级中学生在删除班级就不会报错;
org.hibernate.exception.ConstraintViolationException: could not execute statement
最新推荐文章于 2021-01-14 21:18:26 发布