Subject | Firebird function to test if a database connection is not disconnected? |
---|---|
Author | Jeff Dunlap |
Post date | 2009-05-13T23:32:39Z |
Does Firebird 2.1x have a facility to check if a database instance is connected?
When my web application is launched, I open a database instance. The database instance is used throughout the web app's lifetime.
Olivier Mascia from IBPP.org suggested that I check for exceptions to accomplish this. That is a good idea, but I would really like to know if there is some FB function available that he is unaware of before going the exception route.
Thank you
When my web application is launched, I open a database instance. The database instance is used throughout the web app's lifetime.
Olivier Mascia from IBPP.org suggested that I check for exceptions to accomplish this. That is a good idea, but I would really like to know if there is some FB function available that he is unaware of before going the exception route.
Thank you