Re: Relaxed optimistic locking possible?

From: Mike Kienenberger (mkienen..mail.com)
Date: Mon Nov 24 2008 - 18:23:51 EST

  • Next message: rigel: "Re: Loading cayenne mapped class from URLClassLoader"

    Can't you do this already?

    Each field can be set to be optimistically-locked or unlocked individually.

    It might require manually changing your map entity definition in the
    run-time if this behavior isn't constant, but that doesn't seem like a
    big deal.

    On Fri, Nov 21, 2008 at 9:54 AM, BL <bleu..mx.de> wrote:
    > the idea is to have a table related setting to request optimistic
    > locking for the changed properties only. This would allow shared write
    > access for clients using a distinct set of fields.
    >
    > Without global support a customized UpdateBatchQueryBuilder could
    > do it probably locally, only access to the snapshot (getChangesByObjectId)
    > of the current entity would be required.
    >
    > Is there any interest in such a feature?
    >
    > --
    > Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL
    > für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
    >



    This archive was generated by hypermail 2.0.0 : Mon Nov 24 2008 - 18:24:37 EST