本人制作练习平台数据迁移到mysql数据库,中途出现如下错误:
错误
迁移过程中出现错误,错误信息为:com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`hibernate`.`fr_t_companyrole`, CONSTRAINT `fr_fk_COMPANYROLE__p` FOREIGN KEY (`postid`) REFERENCES `fr_t_post` (`id`) ON DELETE CASCADE)
请问该如何解决。关键点就是怎么修改Finereport的内置数据库Hsql?