hebernate提示主键ID这一列不能为null
后台提示主键ID这一列不能为nullCaused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column ‘workorder_id’ cannot be null + 主表: @OneToMany(cascade = { CascadeType.ALL }, fetch = F
原创
2017-04-29 12:40:53 ·
779 阅读 ·
0 评论