qq_noblequeen_0
2018-07-28 12:35
Duplicate entry '1000-13265847562' for key 'PRIMARY'
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: insert into success_killed(seckill_id,user_phone) values (?,?)
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '1000-13265847562' for key 'PRIMARY'
; SQL []; Duplicate entry '1000-13265847562' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '1000-13265847562' for key 'PRIMARY'
联合主键,你插入重复主键数据当然报错啦
mysql的异常
SQL: insert into success_killed(seckill_id,user_phone) values (?,?)
sql写对了吗?
问题解决了吗?
Java高并发秒杀API之Service层
59897 学习 · 137 问题
相似问题