<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error updating database.  Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '6689' for key 'PRIMARY' in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/error-updating-database-cause-com-mysql-jdbc-exceptions-jdbc4/m-p/54935#M20162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using activiti as an rest service with docker, while updating the task through activiti rest API we are getting below issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '6689' for key 'PRIMARY'&lt;BR /&gt;### The error may involve org.activiti.engine.impl.persistence.entity.HistoricTaskInstanceEntityImpl.insertHistoricTaskInstance-Inline&lt;BR /&gt;### The error occurred while setting parameters&lt;BR /&gt;### SQL: insert into ACT_HI_TASKINST ( ID_, PROC_DEF_ID_, PROC_INST_ID_, EXECUTION_ID_, NAME_, PARENT_TASK_ID_, DESCRIPTION_, OWNER_, ASSIGNEE_, START_TIME_, CLAIM_TIME_, END_TIME_, DURATION_, DELETE_REASON_, TASK_DEF_KEY_, FORM_KEY_, PRIORITY_, DUE_DATE_, CATEGORY_, TENANT_ID_ ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )&lt;BR /&gt;### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '6689' for key 'PRIMARY'&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we gone through the Activiti user guide, we need to update the UUID generator enable High Concurrency [&lt;A href="https://www.activiti.org/userguide/#advanced.uuid.generator" rel="nofollow noopener noreferrer"&gt;https://www.activiti.org/userguide/#advanced.uuid.generator&lt;/A&gt;] , but we are working with activiti-rest.war as rest service to resolve this issue where we need to update this configuration please help us on this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Environment:&lt;/P&gt;&lt;P&gt;-----------------&lt;/P&gt;&lt;P&gt;TOMCAT_VERSION 8.0.38&lt;/P&gt;&lt;P&gt;ACTIVITI_VERSION 6.0.0&lt;/P&gt;&lt;P&gt;MYSQL_CONNECTOR_JAVA_VERSION 5.1.40&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Mar 2019 04:56:21 GMT</pubDate>
    <dc:creator>krishnait19</dc:creator>
    <dc:date>2019-03-18T04:56:21Z</dc:date>
    <item>
      <title>Error updating database.  Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '6689' for key 'PRIMARY'</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-updating-database-cause-com-mysql-jdbc-exceptions-jdbc4/m-p/54935#M20162</link>
      <description>Hi Team,We are using activiti as an rest service with docker, while updating the task through activiti rest API we are getting below issue.### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '6689' for key 'PRIMARY'### The e</description>
      <pubDate>Mon, 18 Mar 2019 04:56:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-updating-database-cause-com-mysql-jdbc-exceptions-jdbc4/m-p/54935#M20162</guid>
      <dc:creator>krishnait19</dc:creator>
      <dc:date>2019-03-18T04:56:21Z</dc:date>
    </item>
  </channel>
</rss>

