mysql异常:
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '10xxx35-50xxx497' for key 'xxx_un'
; SQL []; Duplicate entry '10xxxx5-50xxxx97' for key 'xxx_un'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '1xxx35-50xxx7' for key 'xxx_un'
[2020-12-11 09:27:59,650] ERROR [http-nio-8080-exec-1] (com.ctrip.espaas.controllers.dbbusiness.PaasJobApiController:267) - /business/api/xxx error
### Error updating database. Cause:
检查索引:表中有将两个字段设置成unique索引
索引不能重复
如果表中有设计软删除字段,则很有可能有冲突的情况,不建议使用这种方式建索引
