您的位置:首页 > 大数据 > 人工智能

在使用Hibernate save()方法的时候 报错: org.hibernate.exception.ConstraintViolationException:could not perform

2017-11-30 15:05 405 查看
org.hibernate.exception.ConstraintViolationException:could not perform addBath

  错误可能原因:实体属性的值与数据库字段类型相悖(如:数据库中不允许为null,单数传值为null)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐