AW: Reconnecting to Valentina after timeout

Fabian Eschrich info at faesch.de
Thu Jan 17 01:18:38 CST 2008


Hi Ivan,

I don't think that this is what I mean.
My Connection to the server is closed (timeout after 20 minutes inactivity).
I want to reconnect, but dbconnection.open seems not to be enough.
Dbconnection.isconnected returns true then but I cannot access the database.

Mit freundlichen Grüßen / kindly regards,

Fabian Eschrich
FAESCH Software

info at faesch.de
 
Fon:     +49 (0)37206 889293
Fax:     +49 (0)37206 889294
Skype:   feschrich
SIPgate: 9000760


-----Ursprüngliche Nachricht-----
Von: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] Im Auftrag von Ivan Smahin
Gesendet: Mittwoch, 16. Januar 2008 19:48
An: Valentina Developers
Betreff: Re: Reconnecting to Valentina after timeout

Hello Fabian,

Wednesday, January 16, 2008, 1:48:34 PM, you wrote:

> Hi,

> in my app I use a test to determine if I am still connected to valentina
and
> - if not - reconnect.

>   if app.dbconnection.IsConnected = false then
>     app.WriteDebugLog("ConnectWithRetry failed!")
>     app.dbconnection.Close
>     app.dbconnection.Open
>     if app.dbconnection.IsConnected = true then
>       app.WriteDebugLog("ReConnection OK!")
>       return true
>         ...

> After a 20 minutes timeout, the connection fails and Reconnection seems to
> be ok, but I still get "UNKNOWN" - write error on my query.
> What do I have to do?

> Thanks for your help.


Do you mean http://valentina-db.com/bt/view.php?id=2936 ?
It  is fixed already and will be available in next beta - expected in a
few days.

-- 
Best regards,
Ivan Smahin 
Senior Software Engineer
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
http://www.valentina-db.com

_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list