Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: OCI9 driver
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
![]() |
![]() |