Chris Pratt wrote
I believe you want
DriverManager.getConnection("jdbc:oracle:thin@<hostname>:<port>:SID","<login>","<password>");
    (*Chris*)
 
I tried using this but I am getting StringIndexOutofBoundException.
 
Please Help me.
-----Original Message-----
From: Chris Pratt <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, March 12, 1999 8:40 AM
Subject: Re: Everything perfect - but class not found

 
----- Original Message -----
Sent: Thursday, March 11, 1999 5:47 AM
Subject: Everything perfect - but class not found

I have installed the thin oracle driver on my system
I have also mentioned the classpath as follows
 
set classpath=c:\jdbc\classes111.zip;c:\jdbc
set path=c:\jdbc;
 
Here's the code
 
Class.forName("oracle.jdbc.driver.OracleDriver");
DriverManager.getConnection("jdbc:oracle:thin:<hostname>:<port>","<login>","<password>");
 
My classes111.zip is in jdbc directory
 
I am getting the  "Class not found Exception"
 
Please Help me.
 
Nimesh

Reply via email to