Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

The Apache OpenJPA community is proud to release a Beta 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 early access to many key features of JPA 2.0. All of the new all the new features of JPA 2.0 features and updates since JPA 1.0 are available in this release, which can be summarized as, 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...

...

Maven Artifacts

...

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/Image Removed

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

...