添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

org.springframework.dao.DuplicateKeyException:
### Error updating database.  Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '201908291554169312352' for key 'PRIMARY'
### The error may involve com.rongan.rsdDataxSubjob.mapper.TRsdDataxSubjobMapper.updateTRsdDataxSubjob-Inline
### The error occurred while setting parameters
### SQL: update t_rsd_datax_subjob          SET type = ?,             priority = ?,             create_time = ?,             json_path = ?,             name = ?,             status = ?,             id = ?,             prejob_id = ?,                          nextjob_id = ?,             filt_where = ?,             orgjob_id = ?,             min_time = ?,             max_time = ?,                                                                              remark = ?,             update_time = ?          where is_incret = ?
### Cause: java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '201908291554169312352' for key 'PRIMARY'
; Duplicate entry '201908291554169312352' for key 'PRIMARY'; nested exception is java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '201908291554169312352' for key 'PRIMARY'
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:242)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446)
at com.sun.proxy.$Proxy92.update(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.update(SqlSessionTemplate.java:294)
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:62)
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59)
at com.sun.proxy.$Proxy210.updateTRsdDataxSubjob(Unknown Source)