tables and binary links -- switch offline
Ruslan Zasukhin
sunshine at public.kherson.ua
Fri Feb 9 15:01:22 CST 2007
On 9/2/07 9:29 PM, "Bart Pietercil" <bart.pietercil at gmail.com> wrote:
> 2)Switching between online Valentina Server and Offline local
> Valentina DB.
>
> Two things I read in the manual
> 1) when creating cursors in can specify that they are "serverside"
> 2) I just need to specify in the connection method that I connect to
> local or Server database.
> ===> How are "serverside" cursors (defined in my code to optimize
> speed) handled when I switched to the local version?
First of all:
client/side cursor even in local version is READ ONLY.
Server side cursor for LOCAL version - is regular cursor we all use for
years. This cursor allow you set WRITE locks, specify direction to be
Forward-only (to faster unlock records).
> Transparently (I can just leave the "serverside" in the code, the
> local db is smart enough to disregard it)
> or do I need to work with "if Serverconnected then serverside else
> normal behaviour" ? (I hope not)
Just leave it.
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list