On Monday, September 15, 2003, at 11:33 AM, Mike Kienenberger wrote:
> I'm definitely interested in field-based optimistic locking.
>
> I read through everything a search on "optimistic locking" pulled up
> from
> the Cayenne site, but didn't really see any details.
>
> Is any of Arndt's work on Oracle optimistic locking available in the
> framework?
>
> A search on "optimistic" through the source didn't turn up anything.
>
> -Mike
You are right - nothing has been checked in so far.
Original plans for optimistic locking were to use JDBC update count to
tell if a row was updated or not (and include all "locked" fields in
the WHERE clause). Unfortunately this information is not always
available from the driver (esp. with batch updates that are enabled by
default). Arndt has been patching some things on his own (some of which
included patches to Oracle driver). I leave it up to him to comment
further. My feeling is that we still need more research on that.
Andrus
This archive was generated by hypermail 2.0.0 : Mon Sep 15 2003 - 13:27:54 EDT