Might be a good idea. I haven't seriously looked into locking yet (so I
am not ready to follow up on many of your related messages yet), but I
think this is a part of what Andriy suggested some time back:
On Jan 22, 2004, at 3:59 PM, Andriy Shapochka wrote:
> In this case the corresponding ObjRelationship might be a good
> candidate to mark as a
> participant in the locking behavior.
Andrus
On Feb 16, 2004, at 2:42 PM, Mike Kienenberger wrote:
> 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 - 15:03:08 EST