JPA 2.0 Spec Features based on JSR-317 10/31/2008 public draft
For the most recent task list see the JPA 2.0 Roadmap.
Status | JIRA(s) | Effort | Summary | JPA 2.0 Spec Reference(s) |
---|---|---|---|---|
Complete | Medium | Support for nested embeddables | 2.5 | |
Complete | Medium | Support for collections of embeddables and basic types | 2.2, 2.6, 2.7.2 | |
In Progress | Medium | Support persistent access types including @Access annotation and AccessType enum and XML | 2.3, 10.1.1, 10.1.2 | |
Complete | High | Support derived identity | 2.4.1 | |
Complete | Medium | Support relationships within embeddables | 2.5, 10.1.22, 10.1.24, 10.1.25, 10.1.33, 10.1.34 | |
Complete | Low | Enhanced map collection support | 2.7 | |
Complete | Medium | Support orphanRemoval attribute on relationships | 2.9, 10.1.33, 10.1.34 | |
In Progress | Medium | New database object naming conventions (delimited-identifiers) | 2.13 | |
Complete | Medium | Support LockTypeModes on EntityManager find and refresh operations | 3.1.1 | |
Not Started |
| Low | Support vendor specific hints on EntityManager find and refresh operations | 3.1.1 |
Complete | Low | Support clear method on EntityManager, including new CascadeType.CLEAR | 3.1.1, 3.2.6, 10.1.24, 10.1.25 | |
Complete | Low | Add metadata-type getter methods to EntityManager | 3.1.1 | |
Complete | Medium | Meet new concurrency requirements, including supporting four new lock mode types | 3.4 | |
Complete | Low | Support lock timeout hint on applicable methods | 3.4.4.3 | |
Complete | Low | Add metadata-type getter methods to Query | 3.6 | |
Complete | Medium | Support setLockMode and getLockMode methods on Query | 3.6 | |
Complete | Low | Support EntityManager and Query unwrap | 3.6 | |
Complete | Low | setHint should return IllegalArgumentException for invalid query/lock timeout values | 3.6.1 | |
In Progress | Low | Support default query hint for query timeout | 3.6.4 | |
Not Started |
| Medium | Throw new JPA 2.0 unchecked exceptions on entity manager operations | 3.7, 3.1 |
In Progress | High | JPQL Updates | Ch. 4 | |
In Progress | High | Criteria API | Ch. 5 | |
Not Started |
| Low | Basic EntityManagerFactory interface updates, new exceptions, properties and metadata methods | 6.4 |
Complete | Low | Support Cache Interface | 6.10 | |
Complete | Low | Support standard provider properties in persistence.xml | 7.2.1.7 | |
Complete | Low | Support standard provider properties in PersistenceProvider class | 8.1.3.1 | |
Complete | Medium | Support standard provider properties in Persistence class | 8.2.1 | |
Complete | Medium | Support lockMode on @NamedQuery | 9.3.1 | |
Not Started |
| Low | Ignore query hints that are not recognized in all locations where query hints can be specified - log warning? | 9.3 |
Complete | Medium | @AssociationOverride updates | 10.1.2 | |
Complete | Medium | @AttributeOverride updates | 10.1.4 | |
Complete | Low | Support @CollectionTable annotation | 10.1.7, 2.7.2 | |
Complete | Low | Support @ElementCollection annotation and XML | 10.1.11, 10.1.35 | |
Complete | High | Support for derived identity with @IdClass | 10.1.18, 2.4.1 | |
Not Started |
| Low | Review @JoinColumn elements for behavioral changes | 10.1.20 |
Complete | Low | Support @MapKeyClass annotation and XML | 10.1.27, 10.1.26 | |
Complete | Low | Support @MapKeyColumn annotation and XML | 10.1.28, 2.7.1 | |
Complete | Medium | Support @MapKeyJoinColumn annotation and XML | 10.1.29 | |
Complete | Low | Support @MapKeyJoinColumns annotation and XML | 10.1.30 | |
Complete | Low | Support @MappedById annotation and XML | 10.1.31 | |
Not Started |
| Low | Review @OrderBy for behavioral changes | 10.1.35 |
Complete | Medium | Support @OrderColumn annotation and XML | 10.1.36 | |
Complete | Low | Update SequenceGenerator to support schema and catalog | 10.1.41 | |
Complete | Low | Use 2.0 versions of xsd's for validation, maintain 1.0 support | 11.3, 7.3 | |
Complete | Low | Update OpenJPA documentation with new persistence schemas | 11.3, 7.3 | |
Complete | Low | Projection of element collection from JPQL query | 2.2, 2.6, 2.7.2 |