Jackcess is a pure Java library for reading from and writing to MS Access databases (currently supporting versions 2000-2016). It is part of the OpenHMS project from Health Market Science, Inc.. It is not an application. There is no GUI. It's a library, intended for other developers to use to build Java applications. Jackcess is licensed under the Apache License (as of version 2.1.0). Take a look at our Frequently Asked Questions for more info.
Jackcess now requires Java 8+ as of the 3.0.0 release. All third
party dependencies have been updated to the latest versions.
Jackcess now supports Java 8+ data types like
LocalDateTime
and Path
. Databases can now
optionally return Date
values (legacy, backwards
compatible) or LocalDateTime
values. See DateTimeType
for more details.
Have you ever wished that Jackcess could handle field "default values" (or other expressions)? Wish no longer! Experimental support for expression evaluation has finally landed in the 2.2.0 release. See the expression package javadocs for more details.
Due to the generosity of Health Market Science and the efforts of the Apache Tika project, the OpenHMS projects have been relicensed under the Apache License, Version 2.0 (Jackcess versions 2.1.0 and higher).
New crunchy outside, same yummy filling!
The Jackcess project has gotten a facelift. A long-overdue overhaul of the public API has been completed, and the major version number of the Jackess APi has been changed to 2.0 in order to indicate the non-backwards compatible nature of the changes (although the underlying functionality remains unchanged). Read the Upgrade Guide for full details.
Here are a few snippets of code to whet your appetite. For more extensive examples, checkout the cookbook. And, since Jackcess is heavily unit tested, you can find even more example code in the unit tests.
Some other jackcess related projects: