Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: when oci not present

Re: when oci not present

From: Laurenz Albe <invite_at_spam.to.invalid>
Date: 19 Mar 2007 08:57:58 GMT
Message-ID: <1174294676.417015@proxy.dienste.wien.at>


ton de w <ton_de_winter_at_yahoo.co.uk> wrote:
>>> I am currently commsioning a gateway that uses oci to connect to
>>> Oracle databases.
>>> If I understand correctly, when you install Oracle 9i (and up) on a
>>> box oci access is always present in the client libraries.
>>
>>> But if you need to access it from a different box - the Racle 10g
>>> Instant Client will do the job.
>>
>>> Am I right?

Yes, you are absolutely correct.

OCI is part of the client shared library. When using Instant Client, link the C program against Instant Client.

> I have another app that needs oci for JDBC <sigh>. This time I have a > preinstalled box. How can I tell if oci for JDBC is present?

It is present if you have installed the client shared library.

You'll have to add the path to this shared library to java.library.path so that JDBC can find it.

Yours,
Laurenz Albe Received on Mon Mar 19 2007 - 03:57:58 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US