OpenJPA Logo   ASF Logo

OpenJPA 2.0.0 Early Access 2

The Apache OpenJPA community is proud to provide an early access distribution of OpenJPA 2.0. This distribution is based on the 03/13/2009 draft of the JPA 2.0/JSR-317 specification. Included are many enhancements, fixes, and new functionality; giving developers early access to many key features of JPA 2.0. Some of the key features included in this distribution:

  • JPA 2.0 API and persistence and orm schemas
  • Support for nested embeddables and relationships within embeddables
  • Support for collections of embeddables and basic types
  • A programmatic query construction API based upon the 10/2008 revision of the JSR-317 specification
  • A standardized Level 2 cache interface
  • Enhanced map collection support
  • Support for standard javax.persistence configuration properties
  • A new prepared query cache for the caching of the SQL underlying JPQL and find queries
  • Support for derived identities
  • The ability to specify an order column on ordered collections
  • Significant enhancements to JPQL
  • Automatic orphan removal
  • Support for individual entity detachment, including the ability to cascade
  • Methods to retrieve active and all supported properties on the entity manager and entity manager factory
  • New lock modes, including pessimistic locking on a per entity manager and query method level
  • Support for query and lock timeout hints on a per entity manager and query method level
  • Specification of explicit persistent access type on persistent classes and attributes
  • Many more...

This early access distribution is based upon the contributions provided in development iterations through iteration 7, as defined in the JPA 2.0 Roadmap . The JPA 2.0 Roadmap contains a complete list of features and feature summaries, including what is on deck for future iterations.

Apache OpenJPA was developed by The Apache Software Foundation and is licensed under Apache License 2.0 . Copyright © 2006-2009 Apache Software Foundation. Apache and the Apache feather logo are trademarks of Apache Software Foundation.

Apache OpenJPA is bundled with the schemas from the JPA specification, by Sun Microsystems and licensed under the CDDL 1.0. The source code is available at:

Please review the LICENSE and NOTICE files in svn, source or binary distributions for more details.

This is an implementation of an early-draft specification developed under the Java Community Process (JCP) and is *made available for testing and evaluation purposes only*. The code is not compatible with any specification of the JCP.


Use the links below to download the artifacts or source for Apache OpenJPA 2.0.0 Early Access 2. It is always good practice to verify the integrity of the distribution files.

For information on obtaining OpenJPA artifacts for use within Maven or ANT builds, see the Obtaining page. For information on building OpenJPA from source, see the [Building] page.

Binary Assemblies

Description Download Signatures
OpenJPA 2.0.0 Early Access 2 runtime MD5

Source Assemblies

Description Download Signatures
OpenJPA 2.0.0 Early Access 2 source code MD5
Geronimo JPA 2.0 Early Access Spec source code geronimo-jpa_2.0_spec-1.0-EA2-SNAPSHOT-sources.jar MD5
Geronimo Validation 1.0 Early Access Spec source code geronimo-validation_1.0_spec-1.0-EA-SNAPSHOT-sources.jar MD5

Other Resources


Quick Start


Maven Artifacts

SVN Source Branches

Copyright © 2006,2020 The Apache Software Foundation. Licensed under Apache License 2.0.
Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.
Other names may be trademarks of their respective owners.