日期:2014-05-18  浏览次数:20615 次

不能执行 数据库 批处理 更新
org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update 异常信息 各位大佬 帮我看看 谢谢  这个错误我找了一下午了 没发现代码哪儿出错了啊!

------解决方案--------------------
 org.hibernate.exception.ConstraintViolationException
违反约束了,仔细查看数据库提示的报错信息,尤其是主键冲突