record locking / Vserver

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Dec 2 10:09:39 CST 2004


On 12/2/04 2:29 AM, "Ralf Sander" <ralf at end-if.de> wrote:

Hi Ralf,
 
> a read/write cursor automatically locks all records in the cursor for
> other users, right?

Yes, this is EXCLUSIVE lock.

> But what about the methods of vBaseObject like UpdateRecord? Is it
> possible to run into problems here, or will it be executed one after
> another.

IF you use cursors in your app, then you MUST NOT use BaseObject API.


> Example:
> one user updates a record.This may take some time.
> Meanwhile another user will update the same record. Will he get an
> error, or must his process simply wait, until the process of the first
> user is ready and will be executed after that and no error occures.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------




More information about the Valentina mailing list