OpenJPA Logo   ASF Logo

Events

News Archive

Last changed Jan 29, 2010 21:34 by Donald Woods
Labels: release

The Apache OpenJPA community is proud to release OpenJPA 2.0.0 Beta. This distribution is based on the final JSR 317 Java Persistence API, Version 2.0 specification and passes the JPA 2.0 TCK. This release includes many new features, enhancements and fixes; giving developers access to a JPA 2.0 compliant implementation, while maintaining backwards compatibility for existing JPA 1.0 applications. Some of the new JPA 2.0 enhancements worth noting, include:

  • Access Types, Embeddables, Enhanced Map Collections, Derived Identities, Typed and type-safe Query and Query Results APIs, enhanced Locking, JPQL updates, L2 Cache, Bean Validation, Metamodel and Criteria APIs for programmatic construction of type-safe queries, new properties and query hints, and many more....

Please visit the OpenJPA 2.0.0 Beta page to download the release and obtain more details on the new JPA 2.0 features or visit the JPA 2.0 Roadmap page for the latest status on the upcoming 2.0.0 release.

Posted at Jan 29, 2010 by Donald Woods | 0 comments | Edit
Last changed Jan 21, 2010 20:11 by Michael Dick

OpenJPA 1.2.2 is now available from http://openjpa.apache.org/downloads.html and from the central maven repository. Version 1.2.2 is a bugfix release which includes 24 notatble bug fixes and 9 improvements.

The complete list of issues resolved can be found in the release notes at http://openjpa.apache.org/builds/1.2.2/apache-openjpa-1.2.2/RELEASE-NOTES.html.

Thanks again to everyone who contributed to making this release a success!

Posted at Jan 21, 2010 by Michael Dick | 0 comments | Edit
Last changed Jan 11, 2010 17:52 by Kevin Sutter


EHCache recently released version 0.2 of their L2 cache plugin for OpenJPA.  This version brings OpenJPA more into line with the Hibernate plugin and more fully implements the OpenJPA API.  More information can be found on their News web site and their openjpa-module site.

Posted at Jan 11, 2010 by Kevin Sutter | 0 comments | Edit
Last changed Nov 09, 2009 21:32 by Jeremy Bauer

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

  • Support for extended lock scope via the javax.persistence.lock.scope property.
  • Support for the GA version of the JSR-303 Bean Validation API.
  • Many documentation updates, notably for Criteria API and Metamodel tooling.
  • Continued improvement of test coverage for additional database platforms. The current test matrix is available here.
Posted at Nov 09, 2009 by Jeremy Bauer | 0 comments | Edit
Last changed Oct 13, 2009 06:39 by Donald Woods
Labels: release, jpa2, openjpa, jsr317

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.

Posted at Oct 12, 2009 by Donald Woods | 0 comments | Edit
Last changed Oct 06, 2009 08:45 by Jeremy Bauer

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.
Posted at Oct 06, 2009 by Jeremy Bauer | 0 comments | Edit
Last changed Oct 06, 2009 07:29 by Jeremy Bauer

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

  • Support for the Criteria and Metamodel API. The Criteria and Metamodel API can be used in conjunction to create and execute strongly-typed programmatic queries.
  • Metamodel source file generation. OpenJPA provides tooling to generate metamodel source classes.
  • Support for the TypedQuery and Tuple interfaces. These interfaces are provided to manipulate typed queries and their results.
  • Automatic setting of compatibility options based upon persistence version. Compatibility options are configured based on persistence version to provide backward compatibility for OpenJPA version 1.x applications.
  • Support for naming of unique constraints.
  • Lob, Temporal, and Enumeration can now be specified on element collections.
  • JPQL now supports multiple constructors in the query projection list.
  • Support for the shared-cache-mode element in the persistence.xml. Provides configuration/enablement options for L2 cache.
  • Support for Cacheable annotation and CacheStoreMode/CacheRetriveMode properties. Allows per class configuration of L2 cacheing and per-operation tuning of cache behavior.
  • Database updates including updates for Derby reserved words, usage of a new version of commons-pool and commons-dbcp, and a new Derby network server test profile.
  • Support for JDBC date, time, and timestamp literals within JPQL and Criteria queries.


Posted at Sep 01, 2009 by Donald Woods | 0 comments | Edit
Last changed Aug 13, 2009 11:59 by Donald Woods

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

  • Bean Validation support for validation groups. Specific validation groups can be targeted for lifecycle events.
  • A TraversableResolver is now registered with the bean validator. The resolver ensures that only loaded attributes are validated.
  • A PersistenceProviderResolver and PersistenceProviderResolverHolder are available from the Geronimo Spec API. PersistenceProviderResolver can be used to return the list of persistence providers available in the runtime environment.
  • Availablility of ProviderUtil and PersistenceUnitUtil interfaces. These interfaces provide methods to determine the load state of a persistent entity or attribute. In addition, PersistenceUnitUtil can be used to get the identifier of an entity.
  • Significant improvements to OpenJPA's subquery processing.
  • OpenJPA now includes the ability to use a pluggable encryption provider. This provider can be used to support encrypted database passwords in the persistence.xml. See the Encryption Provider chapter in the documentation for more details.


Posted at Aug 06, 2009 by Jeremy Bauer | 0 comments | Edit
Last changed Aug 13, 2009 11:58 by Donald Woods


EHCache has just announced a Cache Plugin for OpenJPA!
Very easy configuration and/or download will get you running right away. Check it out!


Posted at Jul 28, 2009 by Kevin Sutter | 0 comments | Edit
Last changed Aug 13, 2009 11:59 by Donald Woods


Thanks to everyone who participated in the OpenJPA Logo Contest.
We have a winning logo, along with some website updates that I hope everyone will enjoy.

Posted at Jul 25, 2009 by Donald Woods | 1 comment | Edit
Last changed Jul 25, 2009 13:53 by Donald Woods

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

  • Sub-project for JSR-303 (Bean Validation) testing with configurable bean validation providers.
  • Automatic detection of bean validation providers.
  • Support for bean validation groups, configurable through standard persistence.xml properties.
  • Bug fixes for attribute-overrides and embeddable processing.
  • Performance enhancements to class reflection utility. Provides 17% performance gain in some benchmarks.
Posted at Jul 07, 2009 by Donald Woods | 0 comments | Edit
Last changed Jul 25, 2009 13:57 by Donald Woods


Submissions: Accepted now through June 30, 2009
Rules: See the Logo Contest page for more details.
Voting: Will occur from July 1 through July 21.
Winner: Will be announced on or after July 22.

Posted at Jun 11, 2009 by Donald Woods | 0 comments | Edit

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 Jun 03, 2009 by Jeremy Bauer | 0 comments | Edit

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 Jun 03, 2009 by Jeremy Bauer | 0 comments | Edit
Last changed Jul 24, 2009 06:11 by Donald Woods

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 May 15, 2009 by Jeremy Bauer | 0 comments | Edit
Copyright (C) 2006,2010 The Apache Software Foundation. Licensed under Apache License 2.0.
Apache, the Apache feather logo and OpenJPA are trademarks of The Apache Software Foundation.
Other names may be trademarks of their respective owners.