DriverManager.getConnection("jdbc:oracle:thin://<hostname>:<port> -- not sure about the rest");
let me know what it does
-Robert
Kenia Nimesh wrote:
Chris Pratt wroteI believe you wantDriverManager.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 -----I have installed the thin oracle driver on my systemI have also mentioned the classpath as follows set classpath=c:\jdbc\classes111.zip;c:\jdbcset 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. NimeshFrom: Kenia NimeshTo: [EMAIL PROTECTED]Sent: Thursday, March 11, 1999 5:47 AMSubject: Everything perfect - but class not found
--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+ Robert Silverman
+ Sr. MTS
+ Software Architecture and Java Development
+ TIBCO Software
+ 3165 Porter Dr.
+ Palo Alto, CA 94304
+ Tel: (650) 846 5516
+ email: [EMAIL PROTECTED]
+
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++