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 23142How to create Connection interface object because it is Interface , Interface is not instansiated?
9 16601Post New CTS JDBC Interview Questions
What is lazy loading and why is it used for angular?
How to read files and process BDC's automatically ?
How do I open an excel file on my phone?
What assignment was too difficult for you?
Define gain margin?
How is git instaweb used?
What is 'custom duty'?
can anyone show me how the 3 phase power is supplied to socket outlets?
can you handle the pressure? How well can you handle it?
what is different between relay and plc?
what is the circutor?why we use it ?
What is the difference between operational data stage (ods) and data warehouse?
What is data driver in qtp?
Why is angular popular?
can any one send me the real time interview questions and tockets in sap fico ,my mailid is c.sujatha2008@gmail.com