🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ADO database and multiusers

#1874
From: Viatcheslav V. Vassiliev
Date: Mon, 26 Jan 2004 17:28
40 lines
2567 bytes
You probably use client-side cursor. In this mode TADODataSet (TADOTable,
TADOQuery) fetches all rows into in-memory cache. So you will not see
changes without calling Requery() - that is true for any DBMS.

Jet unlike other DBMS can delay writes to disk. Search for "Jet flush"
(without quotes) in MSDN and you will see some articles that describe flush
properties, such as "Jet OLEDB:Shared Async Delay", "Jet OLEDB:Flush
Transaction Timeout".

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi + ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)

"Stefano Dardari" <s.dardari@tin.it> �������/�������� � �������� ���������:
news:40154b51@newsgroups.borland.com...
> Hi Viatcheslav V. Vassiliev,
>
> > If database is not too big (up to some MB) - it is a good solution.
> >
> > If one user modifies a record, there may be some seconds delay until
other
> > users will see changes.
>
> But it must be specified some particular connecttion string or set some
> special parameter to get this sincronization ?
>
> I've tryed in local, with 2 application running on same DB, if I
> insert/delete or modify a record on the other Application I can't see any
> changes, also after one minute.
>
> Must I have to wait for a particular event ?
> I've not found any explanation at all around the web.
>
> Thanks for any help.
> Steve
>
>
Technical Details
Message-ID: <40154e22$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4014e5ef@newsgroups.borland.com> <4014fbb6$1@newsgroups.borland.com> <40154b51@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,21e9f0017d3511d4
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2004-01-26 09:40:49 PST
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <4014e5ef@newsgroups.borland.com> <4014fbb6$1@newsgroups.borland.com> <40154b51@newsgroups.borland.com>
Subject: Re: ADO database and multiusers
Date: Mon, 26 Jan 2004 20:28:00 +0300
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 213.234.218.42
Message-ID: <40154e22$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1075138082 213.234.218.42 (26 Jan 2004 09:28:02 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail