[Seaside] How do you handle constraints on persisted collections?
Ramon Leon
ramon.leon at allresnet.com
Tue May 19 22:22:26 UTC 2009
> Although, if two users are updating their usernames in separate
> transactions (say, in GemStone), this would do nothing to prevent both
> of them from succeeding, thus, this type of constraint checking really
> only applies when adding users to a collection which would stop this
> from happening by virtue of a commit conflict, no?
>
> -Boris
Not if you're using a reduced conflict collection to allow concurrent
updates of the collection, but otherwise yea you'd get a commit conflict.
Ramon Leon
http://onsmalltalk.com
More information about the seaside
mailing list