阅读背景:

Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails

来源:互联网 

hibernate级联保存外键为空,导致保存数据失败

Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException:Caused by: com



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: