[Seaside] How do you handle constraints on persisted collections?
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?
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.
More information about the seaside