java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDr iver? I get this error at run time.I used oracle10G. I set CLASS PATH:C:\oraclexe\app\oracle\product\10.2.0 \server\jdbc\lib\ojdbc14.jar; I write JDBC PROGRAM like import java.sql.*; class Example { public static void main(String args[]) { try { Class.forName ("oracle.jdbc.driver.OracleDriver"); System.out.println("Driver Loaded"); Connection con=DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:xe","system","salmas"); System.out.println("Driver Connected"); Statement st=con.createStatement(); ResultSet rs=st.executeQuery("select * from emp"); while(rs.next()) { System.out.println(rs.getInt(1)); System.out.println(rs.getString(2)); System.out.println(rs.getString(3)); } st.close(); con.close(); } catch(Exception e) { System.out.println(e); } finally { System.out.println("it's finally block executed"); } } }
6 25125What is the difference between Test Management tools and Defect Management tools? What are the most widely used Test Management tools?
2 22278wt is diference between int and int pointer as same as float and float pointer and char and char pointer
8 13500Post New CTS Interview Questions
Can we have multiple system properties with the same name and values? Can we have multiple values? Can we have a default value?
What are inquiry parameters and Power BI layouts?
Types of Data Flow in Flume?
Explain ng-hide directive angularjs?
What consists of 2 or more thermocouples to be connented series?
How does multithreading take place on a computer with a single cpu in java programming?
How are fishery products used?
Name the method, which is used to prepare a callablestatement.
How do we load the drivers?
name the institue for l1,l2 tranning
What is the main function c++?
Name the different creational patterns in object oriented design?
How do I run microsoft edge from the command line?
How to find the source of a table in sql server?
How does a namenode handle the failure of the data nodes?