但是学员名称在异常信息中找不到(加入培训班的学员不能在外部任意删除,我是通过外键约束来进行限制的),异常中只能找到下列消息:SQL Error: 1451, SQLState: 23000
Cannot delete or update a parent row: a foreign key constraint fails (`cms/t_class_student`, CONSTRAINT `t_class_student_ibfk_1` FOREIGN KEY (`fk_student_id`) REFERENCES `t_student` (`ID`))
Could not synchronize database state with session