Pros and Cons of JPA 2
The Java Persistence API (JPA) 2.0 specification bring a wider array of functionality and a more advanced feature set. The problem is that the standard doesn’t come with a detailed instruction booklet describing when to use the new features, or the specific problems they were meant to solve.