报错提示:java.sql.SQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (
db_student
.s_attendance
, CONSTRAINT student_attendance_foreign
FOREIGN KEY (student_id
) REFERENCES s_student
(id
) ON DELETE RESTRICT ON UPDATE RESTRICT)
数据库信息:
没怎么学过数据库,。求指点一下,到底是哪里的问题。