Index has been edited by Donald Woods (Jun 03, 2009).

(View changes)

Content:

Welcome to Apache OpenJPA

Apache OpenJPA is a Java persistence project at The Apache Software Foundation that can be used as a stand-alone POJO persistence layer or integrated into any Java EE compliant container and many other lightweight frameworks, such as Tomcat and Spring.

The 1.x releases (1.2.1 is the latest) are a feature-rich, specification-compliant implementation of Java Persistence API (JPA) 1.0, the persistence part of Enterprise Java Beans 3.0. The upcoming 2.0 release (see JPA 2.0 Roadmap) will implement the JSR-317 Java Persistence 2.0 specification.

All downloads and documentation on this site are made available under the terms of the Apache Software License.

News

Milestone 2 of OpenJPA 2.0 is now complete and a distribution is available for download. This download includes a preview of many new OpenJPA and JPA 2.0 Early Access features including enhanced support for embeddables, JPQL enhancements, new locking modes, and many other enhancements. Visit the OpenJPA 2.0 Early Access 2 distribution page for additional details.

This is an implementation of an early-draft specification developed under the Java Community Process (JCP) and is made available for testing and evaluation purposes only. The code is not compatible with any specification of the JCP.

Posted at 03 Jun @ 12:32 PM by Jeremy Bauer | 0 comments

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

Posted at 03 Jun @ 8:24 AM by Jeremy Bauer | 0 comments

The sixth 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:

With the completion of iteration 6, OpenJPA includes several additional JPA 2.0 (based on the 03/13/2009 spec draft) features. Here is a summary of the new features provided by OpenJPA:

  • Query timeout detection for additional databases. Query timeouts are more accurately detected and reported in DB2, Oracle, SQL Server, and Informix.
  • Support for scalar expressions in JPQL subqueries. Scalar expressions such as substring can now be used within a subquery.
  • Support for explicit access types on persistent types. The persistence access method can now be specified on a per-type and field or method level.
  • Spec related updates to OrderColumn and EntityManager methods.
  • JPQL queries now support key/value paths as arguments to scalar functions. KEY() and VALUE() can now be used to indicate that a map key or value should be used as an argument to a scalar function.

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

Posted at 15 May @ 7:23 AM by Jeremy Bauer | 0 comments

Google Summer of Code (GSoC) is a global program that offers student developers stipends to write code for various open source software projects. More than 100 organizations including Apache Software Foundation are participating in this program that offers an excellent opportunity for the students all over the globe to actively involve in open source development. OpenJPA team had offered several projects on behalf of Apache Software Foundation to participate in GSoC 2009. Recently after an extensive ranking process, following projects had been selected: (the full list of selected projects can be seen here)

  1. Cross-partition Query in a Distributed Database Environment
  2. Adaptive Query Targeting in Distributed Database Environment
Posted at 22 Apr @ 9:08 AM by Pinaki Poddar | 0 comments

The fifth 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:

  • Updated spec APIs and schemas based upon most current specification draft. New, unimplemented methods will throw an UnsupportedOperationException.
  • Support new JPA LockModeType in find, lock and refresh methods in the EntityManager interface. A new "mixed" lock manager is introduced implementing the new mixed optimistic and pessimistic entity locking semantics.
  • AttributeOverride enhanced to allow navigation of multiple levels of embeddables, use with map keys and values, and use with element collections.
  • AssociationOverride enhanced to support specification of a join table and override of embeddables within relationships.
  • Support for general and qualified identification variables in JQPL selections. KEY, ENTRY, and VALUE qualifiers can now be used within the SELECT clause.
  • Lock and query timeout hint values can now be specified on applicable entity manager and query methods.
  • Lock mode (including the new pessimistic lock modes) can be specified on query methods and named queries. This allows for fine-grained locking configuration at the query level.
  • The unwrap method can be used to get an instance of OpenJPA entity manager and query interfaces.
  • Single entities or an entity graph may be detached from the entity manager. Specifying the new cascade type of DETACH or ALL on relationships allows selective detachment of an entity graph.
  • The third argument of the JPQL SUBSTRING function is now optional.
  • JPQL queries have been enhanced to support the projection of element collections, nested embeddables, and relationships from embeddables.

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

Posted at 09 Apr @ 7:11 AM by Jeremy Bauer | 0 comments

Events and News Archive

Resources

Reply via email to