Index has been edited by Michael Dick (Jan 30, 2009).

(View changes)

Content:

Welcome to Apache OpenJPA

Welcome to Apache OpenJPA, a Java EE persistence project of the Apache Software Foundation. It is a feature-rich implementation of the persistence part of Enterprise Java Beans 3.0, also known as the Java Persistence API (JPA), and is available under the terms of the Apache Software License. OpenJPA can be used as a stand-alone POJO persistence layer, or it can be integrated into any EJB3.0 compliant container and many lightweight frameworks.

News

The first iteration of OpenJPA 2.0 is complete! Iteration 1 content is based on the 10/31/2008 draft of the JPA 2.0 specification. Here is a summary of the new features provided in iteration 1:

  • The current level of JPA 2.0 API. You can compile against and use implemented methods of the new API. Unimplemented methods will throw an UnsupportedOperationException.
  • Validation using the current JPA 2.0 orm and persistence schemas. Version 2.0 persistence and orm files will validate using these new schemas. Metadata elements provided in iteration 1 (collection-table and element-collection) will validate and can be specified in XML.
  • Support for nested embeddables. An embeddable can now be nested within another embeddable.
  • Support for relationships within embeddables. Embeddables can now contain relationships.
  • Collections of embeddables and basic types through the use of ElementCollection and CollectionTable. Element collections and collection tables can be specified using annotations or in a version 2.0 orm XML.
  • Support for the Criteria API based on the current spec level, including the new constructs; KEY(), VALUE(), and CASE(). OpenJPA also includes the ability to convert queries constructed with the Criteria API to JPQL.
  • Support for JPA 2.0 JPQL. Compilation of JPA 2.0 JPQL statements and execution of the new JPQL expressions including simple case expressions, general case expressions, coalesce, and the nullif _expression_. In addition, the select _expression_ allows mathematical operations and the result alias can be specified in the select _expression_ and in the ORDER BY clause. Execution of additional JPA 2.0 JPQL expressions will be added in future iterations.
  • Native sequence generators allow the database schema name to be specified on the annotation or in a version 2.0 orm XML.

These new JPA 2.0 features are available in the latest nightly snapshot build. Be aware that the JPA 2.0 spec is not final so these features are subject to change.

Many thanks to those who contributed to this first iteration! If you'd like to be a contributor to the OpenJPA project, please post your interest on the dev mailing list or contact one of the active committers.

-Jeremy

Posted at 23 Dec @ 10:48 AM by Jeremy Bauer | 0 comments

Latest nightly build supports a preview of new Criteria API defined in current JPA 2.0 public draft version.
The usage of this new API is documented here.

Posted at 17 Dec @ 11:36 AM by Pinaki Poddar | 1 comment

Links to "nightly" (latest) builds are back on the Documentation and Downloads pages. These builds will be updated nightly if there have been changes made to trunk in SVN.

-mike

Posted at 11 Sep @ 11:12 AM by Michael Dick | 0 comments

OpenJPA 1.2.0 is now available at http://openjpa.apache.org/downloads.html and via the ibiblio maven repository. Version 1.2.0 includes a number of new features and bugfixes, including:

  • Support for MEMBER OF queries
  • Improved handling of non transactional work
  • Updated UUID generation to use Java 5
  • The statement batching implementation is now more extensible

Read the release notes for more details.

Posted at 15 Aug @ 4:23 AM by Michael Dick | 0 comments

OpenJPA 1.0.3 released!

OpenJPA 1.0.3, a maintenance release on the 1.0 stream, is now available on the downloads page. It is recommended for all OpenJPA 1.0.x users.

Read the release notes for more details.

Posted at 28 Jul @ 7:47 AM by Michael Dick | 0 comments

Resources

Reply via email to