[Seaside] More transaction rambling

Cees de Groot seaside@lists.squeakfoundation.org
Fri, 05 Jul 2002 23:05:59 +0200


Avi Bryant wrote:
> Concretely: does OmniBase?  Worry about other databases later ;-).
>
Nope.

> BEGIN (txn A)
> BEGIN (txn A.1)
>   x = 'foo'
> COMMIT
> //In the outer transaction, we can't see x, correct?
> BEGIN (txn A.2)
>   //what about here?
> COMMIT
> COMMIT
> 
No, because as A and A.1 are nested independent transactions, the are 
independent as in the 'I' in 'ACID. Whatever happens in A.1, A will be 
unaware of it - it's just the same as when they would have happened in 
parallel. A.2 will know about what happened in A.1, because it starts 
after A.1 commits.