OpenJPA Logo   ASF Logo

OpenJPA 2.0.0 Beta 3

The Apache OpenJPA community is proud to release a Beta 3 distribution of OpenJPA 2.0.0. This distribution is based on the final JSR 317 Java Persistence API, Version 2.0 specification and passes the JPA 2.0 TCK. Included are many enhancements, fixes, and new functionality; giving developers access to all the new features of JPA 2.0, including:

  • Access Types - expanded to allow specification on a per-persistent type basis or on individual attributes.
  • Embeddables - expanded to include collections of embeddables, nested embeddables, and embeddables containing relationships to other entities.
  • Enhanced Map Collections - expanded to support ElementCollection and new annotations for MapKeyColumn, MapKeyClass and MapKeyJoinColumn
  • Derived Identities - enables the ID of an entity to be derived from another entity, which provides for parent-to-dependent relationships
  • Query API - methods to get typed query parameters and results, supported and in-effect hints and lock mode getter/setter
  • Locking - official support for Pessimistic locking (included in prior OpenJPA releases) along with LockModeType properties and hint
  • JPQL Updates -
    • Embeddables support for path expressions to nested Embeddables and Embeddables with relationships
    • Enhanced Map Collection support for ElementCollection and new query expressions for KEY, ENTRY, VALUE
    • Support for CASE and TYPE expressions along with IN expressions for Collection parameters
    • Support for native date/time/timestamp literals
    • Support for INDEX expressions on an OrderColumn
  • L2 Cache -
    • Provides cache operations such as entity eviction and cache mode behaviors to use, bypass or refresh items
    • Per-entity annotation to specify whether an entity should be cached
  • Bean Validation - supports using a JSR 303 implementation for entity validation for persist and remove operations
  • Metamodel API -
    • Provides API to dynamically retrieve metamodel information for a persistence unit
    • Currently limited to persistent state and relationships
    • Used with Criteria API to generate and execute type safe queries
    • Supports dynamic or static generation of the metamodel
  • Criteria API -
    • Provides programmatic construction of queries using an object based query graph
    • Operates on Metamodel objects to provide compile-time type safety enforcement
  • EntityManagerFactory API - updated for new L2 Cache, Properties, Criteria and Metamodel APIs
  • EntityManager API - updated for new Query and Query Result APIs, Hints, Properties, LockModeType, and Detach
  • And many more...

This distribution is based upon the contributions provided since the Beta 2 release, as defined in the OpenJPA 2.0 Roadmap , which contains a complete list of included features, including what is on deck for future iterations.


Downloads

Use the links below to download the artifacts or source for Apache OpenJPA 2.0.0 Beta 3. 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 Beta 3 apache-openjpa-2.0.0-beta3-binary.zip PGP

Source Assemblies

Description Download Signatures
OpenJPA 2.0.0 Beta 3 Source Code apache-openjpa-2.0.0-beta3-source.zip PGP
Geronimo JPA 2.0 Spec API v1.0 source code geronimo-jpa_2.0_spec-1.0-sources.jar PGP
Geronimo Bean Validation 1.0 Spec API v1.0 source code geronimo-validation_1.0_spec-1.0-sources.jar PGP

Other Resources

Documentation

Quick Start

Support

Maven Artifacts

SVN Source Branches


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

Apache OpenJPA is bundled with the schemas from the JPA specifications, by Sun Microsystems and licensed under the CDDL 1.0. The source code is available at: https://glassfish.dev.java.net/source/browse/glassfish/

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


Copyright © 2006,2013 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.