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

来源:互联网 发布:c语言编程实战宝典pdf 编辑:程序博客网 时间:2024/06/07 07:45

org.hibernate.exception.ConstraintViolationException:could not perform addBath

  错误可能原因:实体属性的值与数据库字段类型相悖(如:数据库中不允许为null,单数传值为null)

阅读全文
0 0
原创粉丝点击