Subject | Re: [IBO] Problem of transactions |
---|---|
Author | Helen Borrie |
Post date | 2002-11-08T21:37:47Z |
At 11:44 PM 07-11-02 -0400, you wrote:
transaction can see this change.
Next, you commit the change.
Now (because of Concurrency isolation) it will be seen by only a NEW
transaction.
Transaction A can see only the view it saw when it began.
concurrency isolation is to provide a stable view - that is, the version of
data seen by the transaction is retained as a snapshot of its state at the
moment when the concurrency transaction began.
work.
Concurrency isolation is useful for a transaction in which you are
preparing a report or a data export, where a "snapshot" of data is required.
Also, if you are not using CachedUpdates, do not use ApplyUpdates. Call
Post instead.
Helen
>I do qry.editUser A, transaction A
>As my load requires a new inserted client of course a client in anotherUser B, transaction B.
>program using another transaction.
>The lookcup comobo it shows the new client without problemsWhen you post the new client, Transaction B can see it. No other
transaction can see this change.
Next, you commit the change.
Now (because of Concurrency isolation) it will be seen by only a NEW
transaction.
>But at theTransaction A cannot see the new client that Transaction B added, because
>time of insert Firebird (qry.applyupdates) it says to me that my new
>client does not exist. (I use for certain reason for this control a
>sentence in a trigger) If foreign key use does not give the error me.
Transaction A can see only the view it saw when it began.
>That it can be happening?This is the correct behaviour for concurrency isolation. The purpose of
>
>It is because my transaction does not see the movement of the other
>single transaction but if use trigger.
>
>Isolation this in concurrency.
concurrency isolation is to provide a stable view - that is, the version of
data seen by the transaction is retained as a snapshot of its state at the
moment when the concurrency transaction began.
>With Isolation in Commited it does not generate the error but I haveSomeone gave you bad advice. Use Read Committed for multi-user interactive
>understood that he is better to use Isolation in Concurrency.
work.
Concurrency isolation is useful for a transaction in which you are
preparing a report or a data export, where a "snapshot" of data is required.
Also, if you are not using CachedUpdates, do not use ApplyUpdates. Call
Post instead.
Helen