摘要: 今天在写一块程序的时候,出现了一个异常信息,捣鼓了一上午,终于找到了异常原因——不仅仅是简单的主键冲突问题测试数据库:MySQL异常信息如下:org.hibernate.exception.ConstraintViolationException: could not insert: [org.xxx.entity.PropertyType] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94) at org.hibernate.exception.JDBCExceptionHelpe.. 阅读全文
posted @ 2013-04-30 11:48 小龙在线 阅读(4721) 评论(0) 推荐(1) 编辑
摘要: 今天在写一块程序的时候,出现了一个异常信息,捣鼓了一上午,终于找到了异常原因——不仅仅是简单的主键冲突问题 测试数据库:MySQL 异常信息如下: org.hibernate.exception.ConstraintViolationException: could not insert: [... 阅读全文
posted @ 2013-04-30 11:48 小龙在线 阅读(277) 评论(0) 推荐(0) 编辑