Lost Connection

igon

Member²
I am trying to find a way that if my application looses connection to the server that I can easily capture the error and attempt to reconnect or exit the application. I can fine no session error event to do this on. How can this best be accomplished with DOA.
 
There is no event that fires when the database connection is lost. What you can do is call TOracleSession.CheckConnection just before a transaction starts, on a timer basis, or at other strategic points in your application.

------------------
Marco Kalter
Allround Automations
 
Back
Top