org.hibernate.exception.ConstraintViolationException
Posted on 2010-07-14 13:39 记录 阅读(2136) 评论(0) 编辑 收藏 举报错误:
org.hibernate.exception.ConstraintViolationException: could not insert: [com.hqhop.hqhopsvc.tech.bean.client.Company]
解决:
hibernate配置文件出错与数据库设置不符合。修改配置文件或者修改数据库主键等。