1 Reply Latest reply: Aug 3, 2007 12:38 AM by 796365 RSS

    How to connect to MS Access database from JDBC application????

    807600
      I know how to connect to Oracle databse from JDBC application....
      And this is how i connect to Oracle databse from JDBC application....
      Class.forname("sun.jdbc.odbc.JdbcOdbcDriver");
      Connectio con = DriverManager.getConnection("jdbc:odbc:ora","scott","tiger");
      Statement stmt = con.createStatement();

      Please give me the code where i can replace the above code.....
      And please give me in detail what are the settings i need to do for this( i mean in Administrative tools...)

      Please tell me How to create DSN name for MS Access....


      Please clarify my doubts in detail......I am new to java....