<?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: concurrency in taskService.claim() in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/concurrency-in-taskservice-claim/m-p/66960#M42646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you are right. An ActivitiOptimisticLockException will be thrown and transaction will be rolled back for the one that came too late &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We're using a version-field on all entities and check is performed when updates are flushed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2011 14:17:43 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2011-06-14T14:17:43Z</dc:date>
    <item>
      <title>concurrency in taskService.claim()</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/concurrency-in-taskservice-claim/m-p/66959#M42645</link>
      <description>Hi,Looking at the code, am i right in assuming that a task currently can be claimed by 2 users (or threads or whatever) at the same time without throwing an exception ? The last one to update the database would win, but maybe there is an ibatis mechanism in place (optimistic locking) to prevent this</description>
      <pubDate>Tue, 14 Jun 2011 14:06:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/concurrency-in-taskservice-claim/m-p/66959#M42645</guid>
      <dc:creator>heymjo</dc:creator>
      <dc:date>2011-06-14T14:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: concurrency in taskService.claim()</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/concurrency-in-taskservice-claim/m-p/66960#M42646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you are right. An ActivitiOptimisticLockException will be thrown and transaction will be rolled back for the one that came too late &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We're using a version-field on all entities and check is performed when updates are flushed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 14:17:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/concurrency-in-taskservice-claim/m-p/66960#M42646</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-06-14T14:17:43Z</dc:date>
    </item>
  </channel>
</rss>

