Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Setting transaction isolation programmatically

5 views
Skip to first unread message

Ömür Ölmez

unread,
Jul 1, 2008, 5:15:01 AM7/1/08
to
Hello,

I want to set transaction parameters dynamically and to do this, I try this
code :
IBTransaction1.Params.Add(
'read_committed'#13#10
+'rec_version'#13#10
+'nowait'#13#10 );

I try this code before and after setting Database.Connected :=true. In both,
I always this exception is raised :
EIBClientError
'TPB Constant () is unknown'

How can I set transaction isolation programmatically ?

Thanks
Ömür Ölmez


Dimitry Sibiryakov

unread,
Jul 3, 2008, 5:48:21 PM7/3/08
to
> IBTransaction1.Params.Add(
> 'read_committed'#13#10
> +'rec_version'#13#10
> +'nowait'#13#10 );

Don't try to save your fingers - add them one-by-one.

0 new messages