Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   using occi at client side (http://www.go4expert.com/forums/using-occi-client-t25194/)

rahulonly4u 9Mar2011 09:47

using occi at client side
 
HI,

I wana connect my c++ (Linux) code to oracle11g DB in client server architecture.


Oracle DB is exist on another Linux Red Hat system (i.e.server) and i have to write my c++(Linux) code at another Linux Machine (Client) I want to use OCCI library but it comes with only oracle db setup in 11 G how to get OCCI on client side for writing code

at client side i dont wana install Oracle at client side is it possible ??

Thnaks and Regards
Rahul

xpi0t0s 9Mar2011 15:02

Re: using occi at client side
 
As OCCI is a C++ API for the Oracle client it's impossible to use OCCI without the Oracle client. For a minimal installation use Instant Client.

If you don't want an Oracle client then your only way to communicate with a remote DB is to write your own version of SQL*Net (and if you're going to do that you may as well use SQL*Net as it's already been written and debugged).


All times are GMT +5.5. The time now is 04:26.