Home » Developer & Programmer » Precompilers, OCI & OCCI » Occi Connection Error
Occi Connection Error [message #510727] Tue, 07 June 2011 06:57
Messages: 1
Registered: June 2011
Junior Member
Hi to all,

I work with a OS Suse Linux Enterprise Server 9 on Itanium and I have a problem with DB connections.
The version of libocci is for g++ 3.4.3 [RHEL AS 4.0 64-bit (IA 64)]
(I tried also to downgrade occi version but the problem is the same).

When the DB is up there's no problem but when I shut down the DB my program don't catch the SQLException and the system goes down.
(I have the same problem also when the DB is running but connection parameters are wrongs).

Here is my code:

envSma[thread_idx] =
conSma[thread_idx] =
catch(oracle::occi::SQLException &e) {
esito = occi_trace_sql_exception (&e, thread_idx);
return (esito);

All the variables are already correctly defined.

Could you help me?

Thanks a lot
Previous Topic: occi compile error
Next Topic: Protecting your SQL queries
Goto Forum:

Current Time: Fri Aug 14 09:54:35 CDT 2020