org.hibernate.exception.ConstraintViolationException

来源:互联网 发布:凤凰电影台直播软件 编辑:程序博客网 时间:2024/06/08 15:07

1、错误描述

Caused by:org.hibernate.exception.ConstraintViolationException:Could not execute JDBC batch update.


2、错误原因

     hibernate映射文件中的属性跟model中名称不一致,导致出错


3、解决办法

    修改hibernate映射文件属性

1 0