AnsweredAssumed Answered

concurrency in taskService.claim()

Question asked by heymjo on Jun 14, 2011
Latest reply on Jun 14, 2011 by frederikheremans1
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 ?

Jorg

Outcomes