Detect lost database connection
Posted: Thu 08 Aug 2013 14:45
We've bought dbx driver for Firebird and recently faced up problem with detecting lost connection. I realized that property Connected of TSQLConnection remains True although firebird was unexpectedly shut down.
How to detect the lost connection? Is it possible only while executing a statement by catching an exception?
How to detect the lost connection? Is it possible only while executing a statement by catching an exception?