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 24336How to create Connection interface object because it is Interface , Interface is not instansiated?
9 18194Post New CTS JDBC Interview Questions
What are perl array functions?
What are the commands located in client room?
Respected Consultants kinldy teach me E- recruitments call me at 901 902 1136
I don’t want my class to be inherited by any other class. What should I do?
Which are the trigger types that we find in update panel?
Which of the following is true regarding IRR? A. IRR assumes reinvestment at the cost of capital. B. IRR is the discount rate when NPV is greater than zero. C. IRR is a constrained optimization method. D. IRR is the discount rate when NPV is equal to zero. ?
What do you know about autoencoders?
How do you deal with difficult or angry patients? : insurance health
Describe your approach to minimizing treatment-related toxicities and adverse effects.
Parenthesis is never required in postfix or prefix expressions, why?
What is a temporal join?
What does a method signature consist of?
What are the challenges and limitations of selenium webdriver?
Illustrate the sandals of ancient Egyptian people.
What is dual table oracle?