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写对了吗?
问题解决了吗?