Java Persistence API - JPA 2.0

JPA 2.0

Development of a new version of JPA, namely JPA 2.0 JSR 317 was started in July 2007. JPA 2.0 was approved as final on December 10, 2009.

The focus of JPA 2.0 was to address features that were present in some of the popular ORM vendors but couldn't gain consensus approval for JPA 1.0.

The main features included in this update are:

  • Expanded object-relational mapping functionality
    • support for collections of embedded objects
    • multiple levels of embedded objects
    • ordered lists
    • combinations of access types
  • A criteria query API
  • standardization of query 'hints'
  • standardization of additional metadata to support DDL generation
  • support for validation

Vendors supporting JPA 2.0

  • BatooJPA
  • DataNucleus (formerly JPOX)
  • EclipseLink (formerly Oracle TopLink)
  • JBoss Hibernate
  • ObjectDB
  • OpenJPA
  • IBM, via its OpenJPA-based Feature Pack for OSGi Applications and JPA 2.0 for WebSphere Application Server
  • Versant JPA (not relational, object database)

Read more about this topic:  Java Persistence API