Do not set the ODBC data source directly to Access

zhaozj2021-02-16  87

I have been looking for it. Now it is found. Plus. Worded as follows: AccessString url = "jdbcdbc: driver = {Microsoft Access Driver (* .mdb)}; DBQ = zwrbookcase"; String jdbcDriver = "sun.jdbc.odbc.JdbcOdbcDriver"; try {Class.forName (jdbcDriver);} Catch (java.lang.classnotfoundexception e) {} connection conn = drivermanager.getConnection (URL);

转载请注明原文地址:https://www.9cbs.com/read-14686.html

New Post(0)