Hibernate in ont-to-many Question
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`mysolr`.`student`, CONSTRAINT `fk_student_grade` FOREIGN KEY (`gid`) REFERENCES `grade` (`gid`) ON DELETE NO ACTION ON UPDATE NO ACTION)什麼意思?