Russell
2008-06-12 11:31:09 UTC
I have a remote server with a TSQLConnection with keep connection = true. If
the connection is idle it the server (Firebird 2) disconnects and I then get
an exception the next time the app tries to run a query. Is there a way that
I can trap the exception and then reconnect? I could do this on a query by
quey basis but as there are a lot I'd rather implement a generic catch on
the connection if I could.
Thanks
the connection is idle it the server (Firebird 2) disconnects and I then get
an exception the next time the app tries to run a query. Is there a way that
I can trap the exception and then reconnect? I could do this on a query by
quey basis but as there are a lot I'd rather implement a generic catch on
the connection if I could.
Thanks