Subject Re: [IBO] IBO 4.9.8 - TIB_Cursor bug with pessimistic lock?
Author Jason Wharton
I did not receive it.

Please resend it.

Jason Wharton

----- Original Message -----
From: "Enrico Raviglione" <e.raviglione@...>
To: <IBObjects@yahoogroups.com>
Sent: Thursday, January 07, 2010 12:14 PM
Subject: R: [IBO] IBO 4.9.8 - TIB_Cursor bug with pessimistic lock?


Hi Jason,

i sended at your private email an example and the exception.

Best regards,

Enrico Raviglione



Da: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] Per conto
di Jason Wharton
Inviato: giovedì 7 gennaio 2010 19:01
A: IBObjects@yahoogroups.com
Oggetto: Re: [IBO] IBO 4.9.8 - TIB_Cursor bug with pessimistic lock?





I wrote a quick test in Delphi 2010 with the latest IBO 4.9.8 and it works
flawlessly.

Here is the code:

IB_Cursor1.SQL.Text := 'select * from fts$_IND for update';
IB_Cursor1.PessimisticLocking := true;
IB_Cursor1.First;
IB_Cursor1.Edit;
IB_Cursor1.Cancel;

[snip]