🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Newbie help

#5583
From: Piero Salandin
Date: Sat, 31 Mar 2001 15:13
30 lines
2479 bytes
> Hi, Piero!

Hi Mark!

> BeginTrans and Commit / Rollback are not concurrency controls - they are
> to allow you to safely back out of incomplete operations where multiple
> updates must fully complete or not have any effect at all. You still
> need to use Edit() to lock the records you are about to change.
> Regardless of whether you use transactions, you can attempt incompatible
> updates, but client-server databases should generally detect that and
> throw exceptions which you can use for rollback and retry.

Sorry, I did not mean to doubt of your skills. I was just saying that IMHO
if you want to assure consistency in a multi-user environment you have to
use transaction control. period.

> In any event, best performance is with server side cursors, because then
> only the minimum records needed are transmitted across the network. Also
> forward only cursors, though rarely practical for non web apps, are
> fastest. Static cursors are second fastest.

Thanks. You're saying that it is possible to have a batch update system with
server side cursors? Anyway I'm gonna try this in a few days.

>
> If you have to use a client side cursor, make sure to use moModifiedOnly
> for the MarshalOptions.

Yes, I supposed.
BTW, congratulations for the Temporal Doorway, I liked its look and feel.
Technical Details
Message-ID: <3ac5f4c2$1_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!151.25.123.86
References: <3abfb21e_1@dnews> <3ABFD4F1.A89F588C@temporaldoorway.com> <3ac0bec4_2@dnews> <3AC15B24.E9BFDE4E@temporaldoorway.com> <3ac4b4ad_2@dnews> <3AC53439.C783E92@temporaldoorway.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,7089fbf645685550
X-Google-Attributes: gid10698b,public
X-Google-Thread: f5cad,7089fbf645685550
X-Google-Attributes: gidf5cad,public
X-Google-ArrivalTime: 2001-03-31 07:24:05 PST
From: "Piero Salandin" <piero.salandin@libero.it>
Newsgroups: borland.public.cppbuilder.database.ado,borland.public.delphi.database.ado
References: <3abfb21e_1@dnews> <3ABFD4F1.A89F588C@temporaldoorway.com> <3ac0bec4_2@dnews> <3AC15B24.E9BFDE4E@temporaldoorway.com> <3ac4b4ad_2@dnews> <3AC53439.C783E92@temporaldoorway.com>
Subject: Re: Newbie help
Date: Sat, 31 Mar 2001 17:13:57 +0200
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 151.25.123.86
Message-ID: <3ac5f4c2$1_2@dnews>
X-Trace: 31 Mar 2001 07:16:18 -0800, 151.25.123.86
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!151.25.123.86