🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2545

Command Timeout, because of a locked entry in a table

#2545
From: Wolfgang
Date: Thu, 22 May 2003 20:27
14 lines
1428 bytes
Hi guys,

Can somebody tell me how you would prevent your C++ program into runining in
a timeout because you are trying to update a row which somebody else has
locked (with e.g. select fro update).

I doesn't dependy which class i'm using (BDE or ADO). It takes about 3
minutes to get an Exception.
Setting CommandTimeout and ConnectionTimeout to 10 seconds doen't help
I'm trying to connect to a Oracle 9.2.0.1 server (9.2.0.1 client is
installed)

hope for some hints
Wolfgang
Technical Details
Message-ID: <3ecd325c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,dfefa0183db59a15,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-05-22 13:36:37 PST
From: "Wolfgang" <wolfixx@gmx.at>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Command Timeout, because of a locked entry in a table
Date: Thu, 22 May 2003 22:27:07 +0200
Lines: 16
X-Newsreader: Microsoft Outlook Express 5.50.4922.1500
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800
NNTP-Posting-Host: 195.34.146.204
Message-ID: <3ecd325c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1053635164 195.34.146.204 (22 May 2003 13:26:04 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail