Re: Pro*C vs. OCI

From: David Colello <dcolello_at_oracle.com>
Date: 15 Aug 1994 21:40:29 GMT
Message-ID: <32oncd$a7g_at_dcsun4.us.oracle.com>


In <32edjd$fo3_at_ixnews1.ix.netcom.com>, haleh_at_ix.netcom.com (HALEH HARIRIAN) writes:
>We are starting a new project in Oracle, probably using Windows NT as a client. We would like to use
>OCI because it will fit better with our design plans, and because we feel more comfortable with API database
>interface. But we heard that most of the Oracle community uses embedded Pro*C, and that OCI may not even
>be supported in Oracle 8. How true is this? Also, approximately what percentage of Oracle applications are
>developed with OCI? Is it true that Pro*C does not work very well with C++?
>
>Any suggestions would be greatly appreciated.

If you're more comfortable with OCI, then use OCI. It's not going away, but   these rumors of OCI's death always seem to pop up every once in a while.   Oracle's tools primarily use OCI [or it's internal-use only equivalent]   but some use Pro*C here and there for certain tasks as well.

Pro*C is a bit harder to use with C++, since it spits out C code all over   the place, while OCI can be more controlled in it's use and is just a bunch   of external C routines as far as C++ is concerned. Typically, with C++, you   would externalize Pro*C code into it's own modules and minimize C++ & Pro*C   interaction.

Dave Colello
dcolello_at_oracle.com

The views expressed here are my own and not my employer's. Received on Mon Aug 15 1994 - 23:40:29 CEST

Original text of this message