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 22015How to create Connection interface object because it is Interface , Interface is not instansiated?
9 15354Post New CTS JDBC Interview Questions
What are the building blocks in cloud architecture?
what parameters are should nessary for control technic dc drive(in rolling mills)?
Can a volatile be constant? Like
Describe about luciferase reporter assay?
What is a jdbctemplate?
Is cnc operating experience is must for successful career in cad/cam?How to make salary jump in this field of cad/cam?
Hi all i did my M.B.A financ enw iam doing a job as a finance executive but i feel it is not good 4 me can any 1 plz guide me 4 the better career my job profile is (INVOICING)hw it is help me out 4 the better career shell i continu ein the same 1 by learning sap or oracle or shall i shift to any other if any other which job is suites to me plz suggest me
Can we convert exe to apk?
This microscopic life form is transparent and has an elongated body that is pointed at the rear. The mouth is at the base of the neck, which can be extended like the trunk of an elephant. What is this ciliophora called?
What is stack unwinding?
What is k in cmd?
what is the call sequence?
Tell me what is grading?
What is the difference between Jms and Jvt ?
What is difference between normal crystal reports and sap crystal reports. Why sap acquired the crystal report.