OpenJPA Logo   ASF Logo

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.


Copyright (C) 2005-2009 Apache Software Foundation. Licensed under Apache License 2.0.
Apache and the Apache feather logo are trademarks of Apache Software Foundation.