3 Replies Latest reply on Jul 9, 2007 5:05 AM by Carlo de Wolf

    how to prevent multi-access

    John Woo Newbie

      Hi,

      I'm thinking of, let's say when caller A reading data via ejb3, and caller B updates same record, then A wants to update, how can we inform A that the record has just been updated?

      Can we

      1. in ejb xml descriptor file, for somehow specify the transaction level, allowing like non-repeatable read;

      2. in coding, for somehow
      get cachedRowSet

      3. using annotation....

      Can anyone have idea?

      Thanks
      John