2 Replies Latest reply on Jan 11, 2010 4:40 AM by engelbert go

    Optimistic locking during task assignment

    Petr Nejedly Newbie


      is it possible to check for optimistic locking exception (or StaleStateException) when using PooledTask.assign()? In our case, we have a 'Pooled tasks' screen. I want to disable assigning a task to a user if the task has in the meantime been assigned by/to someone else.

      The exception is never throws in the Seam component and the task is simply assigned to the later user who claims it.