Subject | RE: [IBO] Problem of transactions |
---|---|
Author | Edgar Brítez |
Post date | 2002-11-11T14:09:34Z |
THANKS HELEN, ANOTHER CONSULTATION:
When putting Read Commited is solved to the created problem but in
another scene inconvenient us:
I'm using tibodataset.
User A Consults Registry 0001
User B Consults Registry 0001
User A editing Registry 0001
User B editing Registry 0001
User B Changes and Records Registry 0001
I complete Step:
User A Changes and Records Registry 0001
With Isolation in Concurrency, in I complete step generated an error
warning that the registry be modified another user. It's Ok.
With Read Commited, it does not warn anything.
As this is solved?
Edgar Brítez
-----Mensaje original-----
De: Helen Borrie <helebor@...>
Para: IBObjects@yahoogroups.com <IBObjects@yahoogroups.com>
Fecha: sábado, 09 de noviembre de 2002 10:04
Asunto: Re: [IBO] Problem of transactions
When putting Read Commited is solved to the created problem but in
another scene inconvenient us:
I'm using tibodataset.
User A Consults Registry 0001
User B Consults Registry 0001
User A editing Registry 0001
User B editing Registry 0001
User B Changes and Records Registry 0001
I complete Step:
User A Changes and Records Registry 0001
With Isolation in Concurrency, in I complete step generated an error
warning that the registry be modified another user. It's Ok.
With Read Commited, it does not warn anything.
As this is solved?
Edgar Brítez
-----Mensaje original-----
De: Helen Borrie <helebor@...>
Para: IBObjects@yahoogroups.com <IBObjects@yahoogroups.com>
Fecha: sábado, 09 de noviembre de 2002 10:04
Asunto: Re: [IBO] Problem of transactions
>At 11:44 PM 07-11-02 -0400, you wrote:another
>
>>I do qry.edit
>
>User A, transaction A
>
>
>>As my load requires a new inserted client of course a client in
>>program using another transaction.because
>
>User B, transaction B.
>
>
>>The lookcup comobo it shows the new client without problems
>
>When 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 the
>>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 cannot see the new client that Transaction B added,
>Transaction A can see only the view it saw when it began.of
>
>
>>That it can be happening?
>>
>>It is because my transaction does not see the movement of the other
>>single transaction but if use trigger.
>>
>>Isolation this in concurrency.
>
>This is the correct behaviour for concurrency isolation. The purpose
>concurrency isolation is to provide a stable view - that is, theversion of
>data seen by the transaction is retained as a snapshot of its state atthe
>moment when the concurrency transaction began.interactive
>
>
>>With Isolation in Commited it does not generate the error but I have
>>understood that he is better to use Isolation in Concurrency.
>
>Someone gave you bad advice. Use Read Committed for multi-user
>work.required.
>
>Concurrency isolation is useful for a transaction in which you are
>preparing a report or a data export, where a "snapshot" of data is
>Call
>Also, if you are not using CachedUpdates, do not use ApplyUpdates.
>Post instead.---------------------~-->
>
>Helen
>
>
>------------------------ Yahoo! Groups Sponsor
>Get 128 Bit SSL Encryption!____
>http://us.click.yahoo.com/JjlUgA/vN2EAA/kG8FAA/PhFolB/TM
>---------------------------------------------------------------------~-
>
>
>_______________________________________________________________________
>IB Objects - direct, complete, custom connectivity to Firebird orInterBase
> without the need for BDE, ODBC or any other layer.____
>_______________________________________________________________________
>http://www.ibobjects.com - your IBO community resource for Tech Infopapers,
>keyword-searchable FAQ, community code contributions and more !http://docs.yahoo.com/info/terms/
>
>Your use of Yahoo! Groups is subject to
>