posted 16 years ago
I have an application that is constantly running 24/7. In the event of a network outage, this application has to be restarted, as when a user tries to use it, it will tell them the connection does not exist. I am not using connection pooling. Is there a way that I can find out if the connection still exists, and if it doesn't, reconnect to the database. I recently tried getting the connection object to see if it was null, but it always shows not null... even if I am not on the network. Here is my database connection class:
Any help would be greatly appreciated!