<?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 Re: Cannot insert duplicate key in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48326#M27619</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;[size=50]shouting does not help[/size]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jul 2011 15:45:17 GMT</pubDate>
    <dc:creator>ronald_van_kuij</dc:creator>
    <dc:date>2011-07-25T15:45:17Z</dc:date>
    <item>
      <title>Cannot insert duplicate key</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48317#M27610</link>
      <description>Hallo,I get this message afte runing my workflow.Cannot insert duplicate key row in object 'ACT_RU_EXECUTION' with unique index 'ACT_UNIQ_RU_BUS_KEY'.this a part of a staktrace:INFO: Email task was succesfully completed.14.07.2011 15:41:09 org.activiti.engine.impl.interceptor.CommandContext closeSCH</description>
      <pubDate>Thu, 14 Jul 2011 13:46:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48317#M27610</guid>
      <dc:creator>al_lv</dc:creator>
      <dc:date>2011-07-14T13:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48318#M27611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the exception you got means that you ignore the uniqueness of business keys.&amp;nbsp; I guess you start all your process instances (you call them workflows) with one and the same business key. So give every new workflow an own business key or start the workflows without business key and everything is fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; startProcessInstanceById(processDefinitionId, businessKey); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;easier….&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; startProcessInstanceById(processDefinitionId);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Micha&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 16:21:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48318#M27611</guid>
      <dc:creator>micha1</dc:creator>
      <dc:date>2011-07-14T16:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48319#M27612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hey there,&lt;BR /&gt;&lt;BR /&gt;the exception you got means that you ignore the uniqueness of business keys.&amp;nbsp; I guess you start all your process instances (you call them workflows) with one and the same business key. So give every new workflow an own business key or start the workflows without business key and everything is fine.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; startProcessInstanceById(processDefinitionId, businessKey); &lt;BR /&gt;easier….&lt;BR /&gt;&amp;nbsp;&amp;nbsp; startProcessInstanceById(processDefinitionId);&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Micha&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Micha,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your answer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I use no business key in my process definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For starting I call startProcessInstanceByKey(workflowId, variables);. It should start the last version of process definition with my process variables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I always redeploy the process definition, so there is only one version deployed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The KEY is the ID of process definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;process name="siebel" &lt;/SPAN&gt;&lt;STRONG&gt;id="siebel"&lt;/STRONG&gt;&lt;SPAN&gt; &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SCHWERWIEGEND: Error while closing command context&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the problem is by closing of context&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But than: Cause: java.sql.SQLException: Cannot insert duplicate key row in object 'ACT_RU_EXECUTION' with unique index 'ACT_UNIQ_RU_BUS_KEY'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no business key…. Add what try it to insert?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my process:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[attachment=0]siebel_and_email.png[/attachment]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I run a singel service task there is no problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the problem is in runing of tow service tasks together.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But what I make false?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Both of them extends AbstractBpmnActivityBehavior and have execute method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Both of the run perfectly also…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alexej&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 09:29:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48319#M27612</guid>
      <dc:creator>al_lv</dc:creator>
      <dc:date>2011-07-21T09:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48320#M27613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I added execution.end(); at the end of my service tasks and now it runs perfectly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BUT!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;now I have anothe problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:#4000FF;"&gt;21.07.2011 14:55:53 org.activiti.engine.impl.interceptor.CommandContext close&lt;BR /&gt;SCHWERWIEGEND: Error while closing command context&lt;BR /&gt;org.apache.ibatis.exceptions.PersistenceException: &lt;BR /&gt;### Error updating database.&amp;nbsp; Cause: java.sql.SQLException: Cannot insert duplicate key row in object 'ACT_HI_PROCINST' with unique index 'ACT_UNIQ_HI_BUS_KEY'.&lt;BR /&gt;### The error may involve org.activiti.engine.impl.persistence.entity.HistoricProcessInstanceEntity.insertHistoricProcessInstance-Inline&lt;BR /&gt;### The error occurred while setting parameters&lt;BR /&gt;### Cause: java.sql.SQLException: Cannot insert duplicate key row in object 'ACT_HI_PROCINST' with unique index 'ACT_UNIQ_HI_BUS_KEY'.&lt;BR /&gt; at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:8)&lt;BR /&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:100)&lt;BR /&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:87)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I quess the business key cannot be the same in the hole table. But I use no business key.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my 'ACT_HI_PROCINST' afte the process was run:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[attachment=0]Activiti Probe – Database_1311253858396.png[/attachment]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is it business key? And why it shouldn't be a same by every process instance?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 13:16:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48320#M27613</guid>
      <dc:creator>al_lv</dc:creator>
      <dc:date>2011-07-21T13:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48321#M27614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;adding execution.end() should never be needed… What is it that you do in your service task? Run javacode? Can you show that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 13:59:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48321#M27614</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-07-21T13:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48322#M27615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I'm running a java-Code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the Email Task:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; public void execute(ActivityExecution execution) throws Exception {&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; try {&lt;BR /&gt;&amp;nbsp; LOG.info("Starting email task.");&lt;BR /&gt;&amp;nbsp; Map&amp;lt;String, Object&amp;gt; variables = new HashMap&amp;lt;String, Object&amp;gt;();&lt;BR /&gt;&amp;nbsp; variables = execution.getVariables();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; ConnectorBusinessData data = loadDataXml(variables.get("data"));&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; JavaxEmailFactory mailFactory = new JavaxEmailFactory();&lt;BR /&gt;&amp;nbsp; mailFactory.createEmailService().sendEmail(data);&lt;BR /&gt;&amp;nbsp; LOG.info("Email task was succesfully completed.");&lt;BR /&gt;&amp;nbsp; }catch (Exception e) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; LOG.severe("There is a problem with EmailTask: "&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + e.getMessage());&lt;BR /&gt;&amp;nbsp;&amp;nbsp; execution.setVariable("exception", e.getMessage().getBytes());&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; throw XYException.wrap(e);&lt;BR /&gt;&amp;nbsp; } &lt;BR /&gt;&amp;nbsp; finally{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; execution.end();&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;BR /&gt; }&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I found something else:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've deleted the WHERE clause from SQL Skript:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;File: activiti.mssql.create.history.sql&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Line: 105&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;there is a statment for create uniq index, but with WHERE it doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this message i get with WHERE:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[java] INFO: performing create on history with resource org/activiti/db/create/activiti.mssql.create.history.sql&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[java] 21.07.2011 16:18:45 org.activiti.engine.impl.db.DbSqlSession executeSchemaResource&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[java] SCHWERWIEGEND: problem during schema create, statement 'create unique index ACT_UNIQ_HI_BUS_KEY on ACT_HI_PROCINST (PROC_DEF_ID_, BUSINESS_KEY_) where BUSINESS_KEY_ is not null&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[java] java.sql.SQLException: Incorrect syntax near the keyword 'where'.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 14:11:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48322#M27615</guid>
      <dc:creator>al_lv</dc:creator>
      <dc:date>2011-07-21T14:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48323#M27616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You didn't include a vital part of the code, which is the class definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Because I'm guessing you are implementing the ActivityBehavior interface, instead of the JavaDelegate interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The JavaDelegate interface is recommended, as stated in the user guide. Is there a specific reason why you are using the ActivityBehavior interface?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One of the things you have to take care of when using the ActivityBehavior interface is leaving the current task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And then you should use execution.take(transition) method and certainly not execution.end().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 16:19:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48323#M27616</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-07-21T16:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48324#M27617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Is there a specific reason why you are using the ActivityBehavior interface?&lt;BR /&gt;One of the things you have to take care of when using the ActivityBehavior interface is leaving the current task.&lt;BR /&gt;And then you should use execution.take(transition) method and certainly not execution.end().&lt;BR /&gt;,&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason is exceptions handling and expressions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I cann't use execution.take(transition), because the models from signavio-modeler have transitions with generated ID. Eclipse Designer can this, but my system should work in browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried it no without transitions and with JavaDelegate. It doesn't work. It still need ActivityBehavior for expressions. &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;How do I leave the current task from the Service Task Class? &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And what about the error by ant db.create on MSSQL?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the line 105 in activiti.mssql.create.history.sql:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;create unique index ACT_UNIQ_HI_BUS_KEY on ACT_HI_PROCINST (PROC_DEF_ID_, BUSINESS_KEY_) where BUSINESS_KEY_ is not null;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;doesn't work properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;may be the problem is PROC_DEF_ID_ in brackets. Should it be not PROC_INST_ID_ ?&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 10:55:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48324#M27617</guid>
      <dc:creator>al_lv</dc:creator>
      <dc:date>2011-07-22T10:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48325#M27618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ANY ANSWER????&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 08:49:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48325#M27618</guid>
      <dc:creator>al_lv</dc:creator>
      <dc:date>2011-07-25T08:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48326#M27619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;[size=50]shouting does not help[/size]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 15:45:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48326#M27619</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-07-25T15:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48327#M27620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How do I leave the current task from the Service Task Class?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;See the docs: execution.leave().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;create unique index ACT_UNIQ_HI_BUS_KEY on ACT_HI_PROCINST (PROC_DEF_ID_, BUSINESS_KEY_) where BUSINESS_KEY_ is not null;&lt;BR /&gt;may be the problem is PROC_DEF_ID_ in brackets. Should it be not PROC_INST_ID_ ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;We test internally on MSSQL and this problem has not popped up. How are you running the sql on your db?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 08:10:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48327#M27620</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-07-26T08:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48328#M27621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;See the docs: execution.leave().&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Oh! Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then AbstractBpmnActivityBehavior should be extended. Isn't it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The interface ActivityBehavior has no leave() Method. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How are you running the sql on your db?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running ant db.create and get this message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:#FF0000;"&gt; [java] 28.07.2011 11:48:19 org.activiti.engine.impl.db.DbSqlSession executeSchemaResource&lt;BR /&gt; [java] SCHWERWIEGEND: problem during schema create, statement 'create unique index ACT_UNIQ_RU_BUS_KEY on ACT_RU_EXECUTION (PROC_DEF_ID_, BUSINESS_KEY_) where BUSINESS_KEY_ is not null&lt;BR /&gt; [java] java.sql.SQLException: Incorrect syntax near the keyword 'where'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried it without WHERE-Clause and it works….&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 09:56:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48328#M27621</guid>
      <dc:creator>al_lv</dc:creator>
      <dc:date>2011-07-28T09:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot insert duplicate key</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48329#M27622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The leave method is on the execution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 12:17:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-insert-duplicate-key/m-p/48329#M27622</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-08-05T12:17:35Z</dc:date>
    </item>
  </channel>
</rss>

