Subject RE: Automatic reconnect
Author

Hi Jason,


We've tried this but without any luck.


The problem is that all datasets are closed upon disconnection. So if we reconnect, we also need to reopen all those sets.


It seems as we should try to reopen the used socket or something in that direction?


Many thanks in advance! 



---In ibobjects@yahoogroups.com, <supportlist@...> wrote:

I did recently add in a method called SwapOutHandle that somewhat does this. Its for instances where you want to dissconnect and reconnect as efficiently as possible. I use it when my full text search or replication metadata component hits up against an "object in use" error. You may want to give it a look.
 
Jason


From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf Of sv@...
Sent: Wednesday, October 9, 2013 8:25 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] Automatic reconnect

Hi,

What are the possibilities to automaticaly reconnect to a firebird database?
I've read about implementing some functionality based on the onConnectionError event, but is this the only way to work around a lost and re-established connection?

Kind regards,

Sammy