Blog from October, 2009

Milestone 3 of OpenJPA 2.0.0 is now available for download. This release is based on the 20090922 Proposed Final Draft 2 of the JSR-317 JPA 2.0 specification. Included are many enhancements, fixes, and new functionality; giving developers early access to many key features of JPA 2.0. Visit the OpenJPA 2.0.0 Milestone 3 page for additional details.

Note: This is an implementation of an early-draft specification developed under the Java Community Process (JCP). The code is untested and presumed not to be a compatible implementation of the JSR-317 Java Persistence API, Version 2.0 specification. We encourage you to migrate to an implementation of the JSR-317 Java Persistence API, Version 2.0 specification that has been tested and verified to be compatible as soon as such an implementation is available, and we encourage you to retain this notice in any implementation of JSR-317 Java Persistence API, Version 2.0 specification that you distribute.

With the completion of iteration 11, OpenJPA includes several additional JPA 2.0 features and bug fixes. Here is a summary of the new features provided by OpenJPA:

  • OpenJPA is based upon Proposed Final Draft 2 of JSR-317.
  • Support for cascading detach using cascade-detach as specified in the orm.xml.
  • Assertion that relationships in MappedSuperclass are unidirectional.
  • OpenJPA was updated to the CR5 level of the bean validation specification.
  • A new code sample which showcases the use of embeddables.
  • Corrected an XML encoding issue which occurred when using XML data with SQL Server.
  • Many documentation updates.
  • Improved test coverage for many database platforms. The current test matrix is available here.