Lock Timeout

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
yota
Posts: 10
Joined: Thu 19 Nov 2009 10:42
Location: Poland

Lock Timeout

Post by yota » Thu 01 Mar 2012 08:39

How can I specify lock timeout on TIBCTransaction?

AndreyZ

Post by AndreyZ » Thu 01 Mar 2012 12:34

Hello,

To specify LOCK TIMEOUT for a transaction, you should set the lock_timeout transaction parameter. Here is an example:

Code: Select all

IBCTransaction.Params.Add('lock_timeout=10');

Post Reply