using occi at client side

Go4Expert Member
9Mar2011,09:47   #1
rahulonly4u's Avatar
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
Mentor
9Mar2011,15:02   #2
xpi0t0s's Avatar
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).