Home » Developer & Programmer » Precompilers, OCI & OCCI » How to detect a disconnection in OCCI ?
How to detect a disconnection in OCCI ? [message #94325] Tue, 03 August 2004 09:49
Renaud BARA√čR
Messages: 1
Registered: August 2004
Junior Member

I'm wondering how to detect a disconnection in OCCI. There is a method in JDBC to know if the connection is still active, but no such method†is spoken of in the Oracle OCCI documentation. Does†one exist ? Is there another way to do that ? (I've thought of catching an SQLException,†checking its error code, and decide whether or not I'll have to try to reconnect, but I'd sincerely like an easier way).

Any idea†will be†welcome !
Previous Topic: PCC-F-NOERRFILE, unable to open error message file, facility PR2
Next Topic: occi link error,urgent, help!
Goto Forum:

Current Time: Mon Sep 27 07:24:30 CDT 2021