Subject | RE: [IBO] Lost update and tiCommitted |
---|---|
Author | Alan McDonald |
Post date | 2007-06-19T22:20Z |
> --- In IBObjects@yahoogroups.com, Helen Borrie <helebor@...> wrote:then use tiConcurrency. TRA will be blocked, until it is able to see the
> >
> > At 04:08 AM 19/06/2007, you wrote:
> > >Hi all,
> > >
> > >Does tiCommitted isolation alone able to prevent lost update to
> > >happen? If not, how to prevent lost update using tiCommitted isolation?
> >
> > Please describe what you mean by "lost update".
> >
> for example, 2 transaction (TRA and TRB) start at the same time,
> reading the same row of a table. Then in TRB the row is updated and
> then committed. Then in TRA the same row is updated and committed. The
> update made in TRB is lost.
>
> Regards
>
> Tarno
change in TRA.
BTW - all updates are lost by subsequent updates.
Alan