????java????MS Access??????????
????1.JDBC-ODBC
????Java????Access???????MS???????????-->?????(ODBC)???y?????????????????????jar??????????????????????????????????????ò????檔??????????????????
????2.JDBC
????java??????????????????????????MS Access????????????????jar?????????????
????java Access JDBC jar????Access_JDBC30.jar
??????????????ο???????????
1 try {
2 ///????????jar
3 Class.forName("com.hxtt.sql.access.AccessDriver").newInstance();
4 //???Access??????????λ??
5 String url = "jdbc:Access:///c:/a/db.mdb";
6 //????????
7 conn = DriverManager.getConnection(url?? "username"?? "password");
8 } catch (Exception e) {
9 e.printStackTrace();
10 }
????????????????????????????????:http://www.cnblogs.com/xudong-bupt/p/3741703.html
????3.???:
?????????????????????????????????????????