June 09, 2010
The Java Persistence API (JPA) has really taken over the Java development world, and is now recognized as the enterprise standard for object–relational persistence. But with so many people using JPA, the feature cracks were starting to show. Some found that pieces were either missing or not fully specified in the 1.0 release.
JPA 2.0 has filled in the feature gap, and introduced many of the additional features that developers were asking for. Mike will examine where the 1.0 standard stopped, and where the new 2.0 release continues on. He'll offer a few tricks to using some of the new features, and when it may be appropriate to use them. He'll show how to specify advanced object–relational mappings and collections, illustrate how to mix access modes, describe some new locking options, as well as explain how to create typed queries with or without the new typed criteria API.