Optimistic locking on obj-relationship fields / data-map dtd question

From: Mike Kienenberger (mkienen..laska.net)
Date: Mon Feb 16 2004 - 14:42:38 EST

  • Next message: Andrus Adamchik: "Re: Optimistic locking on obj-relationship fields / data-map dtd question"

    Another thing I noticed today is that I'm only performing optimistic locking
    on obj-attribute fields. This is logical because I only have a "lock"
    parameter specified for obj-attributes.

            <obj-entity lock-type="optimistic" name=....>
                    <obj-attribute lock="true" name=... />

    However, I also want to be able to lock on obj-relationship foreign key
    values.

    Does it make sense to just add [lock="true"] on the obj-relationship
    parameter list?

            <obj-relationship lock="true" name=...>

    -Mike



    This archive was generated by hypermail 2.0.0 : Mon Feb 16 2004 - 14:42:33 EST