Reconnecting to Valentina after timeout

Ivan Smahin ivan_smahin at paradigmasoft.com
Wed Jan 16 12:47:54 CST 2008


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



More information about the Valentina mailing list