outer199 2015-03-16 04:36 采纳率: 0%
浏览 1701

SSH 框架项目,主键重复错误

我已经将数据库里的数据全部都删除了,插入数据的时候,但是还是报
Duplicate entry '0000000d0014c20c0907c' for key 'PRIMARY'错误,如果我debug就不报错,吧debug的话,就会报这个错误
错误详细信息:

Could not execute JDBC batch update; SQL [insert into t_fix_info (t_client_id, t_client_name, t_fix_product_type, t_fix_product_xianxiang, t_fix_type, t_fix_time, t_fix_status, t_fix_id) values (?, ?, ?, ?, ?, ?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update

  • 写回答

1条回答 默认 最新

  • threenewbee 2015-03-16 07:26
    关注

    根据提示是常数违例错误

    评论

报告相同问题?

悬赏问题

  • ¥15 chaquopy python 安卓
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 有没有帮写代码做实验仿真的
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥30 vmware exsi重置后登不上
  • ¥15 易盾点选的cb参数怎么解啊
  • ¥15 MATLAB运行显示错误,如何解决?
  • ¥15 c++头文件不能识别CDialog
  • ¥15 Excel发现不可读取的内容
  • ¥15 关于#stm32#的问题:CANOpen的PDO同步传输问题