🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Locking with ADO and Oracle

#5021
From: F. Schmitt
Date: Thu, 23 Aug 2001 10:59
21 lines
1777 bytes
Hi there,

I use Microsoft OLE DB Provider for Oracle with AdoExpress,
and want to get the user a message like "record is being edited by another
user", best case
when (before) the user tries to edit a record.
I now tried nearly all possibilities on LockType, (Conenction)Mode,
CursorType, ...
the only error I get is "record to be updated couldn't be found" due to the
other user modified some fields. But I get this error only when posting my
changes.
I also tried all those settings with the Oracle OLE DB driver, but without
change.

Can anyone tell how to use Pessimistic Locking? Most settings I change to
the ADOConnection or my ADOQuery are set back to default or other unusable
values.

Thanks,

F. Schmitt
Technical Details
Message-ID: <3b84e222_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5cad,4444b1be23016cad,start
X-Google-Attributes: gidf5cad,public
X-Google-Thread: 10698b,4444b1be23016cad,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-08-23 04:00:41 PST
From: "F. Schmitt" <fs@sonik.de>
Newsgroups: borland.public.cppbuilder.database.ado,borland.public.delphi.database.ado
Subject: Locking with ADO and Oracle
Date: Thu, 23 Aug 2001 12:59:35 +0200
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 62.153.143.130
Message-ID: <3b84e222_2@dnews>
X-Trace: dnews 998564386 62.153.143.130 (23 Aug 2001 03:59:46 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-out.visi.com!hermes.visi.com!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews