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: OCI9 driver

Re: OCI9 driver

From: maniekp <maniekpozioma_at_poczta.onet.pl>
Date: Sat, 21 Sep 2002 08:13:34 +0200
Message-ID: <3D8C0E0E.7080001@poczta.onet.pl>


Rajesh Vasisht wrote:
> I am getting an "Invalid URL" error when I try to connect to an Oracle
> 9.2 database via the OCI9 driver. Both my client and the backend
> database are running HP-UX 11. I have loaded the Oracle9i client on my
> client machine and set CLASSPATH to include the classes12.jar. I've
> also set the LD_LIBRARY_PATH environment variable to point to the
> libocijdbc9.a library. My connect string looks like:
> conn = DriverManager.getConnection("jdbc:oracle:oci9:@ORASID", dbUser,
> dbPass);
>

why oci9, oci is enough ;)

conn = DriverManager.getConnection("jdbc:oracle:oci:@ORASID", dbUser, dbPass);

pozdrawiam, maniek
http://oraforum.altkom.com.pl Received on Sat Sep 21 2002 - 01:13:34 CDT

Original text of this message

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