How to connect to a Microsoft Access-based database in a Windows using JDBC code?
What syntax is to be written for Type-1 and Type-4 types of the drivers?
You can use JDBC-ODBC bridge by calling:
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver")
Then you can use JDBC database URL in form:
jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=c:\\Nwind.mdb
or if you configure your database in ODBC manager you can use its alias:
jdbc:odbc:northwind