AW: Reconnecting to Valentina after timeout

Ivan Smahin ivan_smahin at paradigmasoft.com
Thu Jan 17 01:31:05 CST 2008


Hello Fabian,

Thursday, January 17, 2008, 9:18:38 AM, you wrote:

> 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.

It  would  not  work this way. There are always pair of objects - stub
and proxy which are living on the client and server side respectively and
working together.
Closing  connection  (never mind who initiate it) leads to destroy all
proxy objects for this connection in the server. So stubs are not able
to communicate to the server and must be destroyed also.


-- 
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