hi,
i am tying to establish a connection to an oracle database with the following code:
Class.forName("oracle.jdbc.driver.OracleDriver");
System.out.println ("Registered Oracle Driver");
con1 = DriverManager.getConnection ("jdbcracle:thin//"+connectionString,userName,password);
System.out.println ("Made connection");
(where connectionString, userName and password are variables containing appropriate values and connectionString is of the form <servername>:<port>/<dbname> )
i *am* gettign the message "Registered Oracle Driver" but not the message "Made connection" and I am getting the error : "java.lang.NoSuchMethodError"
i am tying to establish a connection to an oracle database with the following code:
Class.forName("oracle.jdbc.driver.OracleDriver");
System.out.println ("Registered Oracle Driver");
con1 = DriverManager.getConnection ("jdbcracle:thin//"+connectionString,userName,password);
System.out.println ("Made connection");
(where connectionString, userName and password are variables containing appropriate values and connectionString is of the form <servername>:<port>/<dbname> )
i *am* gettign the message "Registered Oracle Driver" but not the message "Made connection" and I am getting the error : "java.lang.NoSuchMethodError"