3 Replies Latest reply on Jul 4, 2003 4:51 AM by Dietmar Scheidl

    Optimistic Locking - does it work in 3.2.1 at all?

    Grzegorz Stelmaszek Newbie

      Hi,

      I've been trying to use optimistic locking in jboss 3.2.1 for a few days now, but I do constantly get weird errors in all commit-options. I'm trying to use read-strategy and modified-strategy, and in both cases I get either reenterancy errors (I guess they are from concurrency on the same entity) but also 'CMR field already loaded' exeption. I was trying to use NoLock strategy, but got yet worse results (ObjectNotFound exceptions and so on).

      I tried to switch to reenterant beans, but nothing has changed (except no more reentrancy errors).

      Thus my question is - does anyone managed to use OptimisticLocking or NoLocking in jboss 3.2.1 at all?

      best regards,
      greg