JPA 2.0 … finally final
By: Peter Schuler, 11 December 2009Thursday 10 December the people from EclipseLink release version 2.0 of their Object Relation Mapping framework. Besides other improvements this release includes the reference implementation of JPA 2.0. This means that the JPA 2.0 and JSR-317 are now final!
The second release of the Jave Persistence API adds a lot of new features to the JPA framework. The team responsible for this release now claims to serve 95% of the persistence needs of Java programmers. You can get the final version of JSR-317 or download the reference implementation on the eclipselink website. Two older blogs by Mike Keith introduces all the new features here and here.
Version 2.0 now has (among others) support for:
- Increased locking possibilities;
- Support for Criteria Queries and a MetaModel;
- (A little) support for second level caching;
- Basic Element and embeddable collections;
- Orphan removals for sets;
- Derived Identifiers (using @ManyToOne as past of your primary key);
- Ordered list.
With these new features the Java Persistence API becomes even more useful. In the next few weeks I will blog some more about the new features and go deeper into some of the new features and how to use them to your advantange.
So stay tuned.


11 December 2009 om 1:35 pm
Not only JPA 2.0 has been released, but Java EE 6 has been released yesterday and Glassfish V3.0. You can now use all the new enterprise standards.
Including the Servlet 3.0 spec (http://www.redcode.nl/blog/2009/12/java-ee-6-released-including-servlet-3-0/) which I blogged about here too.