`
zhouxiaofeihaha
  • 浏览: 21009 次
  • 性别: Icon_minigender_1
  • 来自: 南京
社区版块
存档分类
最新评论

hibernate 报错

阅读更多

Caused by: java.sql.BatchUpdateException: Duplicate entry '1062' for key 'PRIMARY'
 at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:648)
 at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723)
 at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
 at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
 ... 91 more

 


2012-09-18 18:07:40 [com.huawei.servlet.AuthorityInterceptor]-[ERROR]
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
 at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)

 

 

 

2012-09-18 18:07:40 [org.hibernate.util.JDBCExceptionReporter]-[ERROR] Duplicate entry '1062' for key 'PRIMARY'
2012-09-18 18:07:40 [org.hibernate.event.def.AbstractFlushingEventListener]-[ERROR] Could not synchronize database state with session

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics