The seventh iteration of OpenJPA 2.0 is complete! Content of this iteration is based upon the 03/13/2009 draft of the JPA 2.0 specification. This iteration contains these new features:

  • New MapKeyEnumerated and MapKeyTemporal annotations and equivalent XML elements for tagging the key of a map collection as either an enumerated or temporal type.
  • Base support for JSR-303 Bean Validation including basic configuration and lifecycle-based event validation.
  • Support the use of delimited identifiers within annotation attributes for a subset of mapping annotations when used with the Derby and DB2 databases. Support for additional databases will be added in future iterations.
  • JPQL subqueries now support derived path expressions and the use of KEY() with map collections.
  • OSGI bundle metadata has been added to the OpenJPA jar. This simplifies the use of OpenJPA in an OSGi environment such as Apache Felix.
  • OrderBy no longer requires specifying the name attribute when applied to a collection of basic type.

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

Many thanks to those who contributed to this 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

  • No labels