views:

1362

answers:

2

How to read (and write) MS Access files (.mdb) in Java? Is there any open-source jdbc driver for MS Access?

+6  A: 

You can use the open source Jackcess library to read an Access database through Java.

However, from the project FAQ:

Jackcess currently supports only Access 2000 databases. Access 2003 is not supported.

For later versions of Access, you can use Sun's JDBC-ODBC Bridge (step-by-step tutorial).

Bill the Lizard
Jackcess is good, but it only works for Access 2000 (JET4) files.
Yuval A
@Yuval: Thanks, I edited my answer to include that information.
Bill the Lizard
+4  A: 

If you'd like to use Access as a JDBC database, check out the JDBC-ODBC Bridge driver.

Henning