OpenJPA 2.0 Tasks
JPA 2.0 Spec Features
Status |
JIRA(s) |
Effort |
Summary |
Area |
JPA 2.0 Spec Reference(s) |
---|---|---|---|---|---|
Complete |
Medium |
New database object naming conventions (delimited-identifiers) |
General |
2.13, 12.2.1.13, 12.3 |
|
Complete |
Low |
Added find method that accepts properties (no lock mode) |
EM |
3.1.1 |
|
Complete |
Low |
New refresh method that accepts properties (no lock mode) |
EM |
3.1.1 |
|
Complete |
Low |
Verify cache mode properties support on find, refresh and Query |
Cache |
3.7.2 |
|
Complete |
Medium |
Added new javax.persistence.lock.scope property |
Locking |
3.4.3 |
|
Complete |
Medium |
Review @JoinColumn elements for behavioral changes |
Mapping |
11.1.21 |
|
Complete |
Medium |
Review clarifications to locking modes |
Locking |
3.4.3 |
|
Complete |
|
Low |
Review chapter on deployment and bootstrapping contracts for updates. |
General |
Ch 9 |
Complete |
Low |
Assert that relationships defined in a mapped superclass must be unidirectional. |
General |
2.11.2 |
|
Complete |
Spec updated |
TBD |
New JPQL reserved identifiers. |
JPQL |
4.4.1 |
Complete |
Low |
Review @OrderBy for behavioral changes |
Mapping |
11.1.38 |
|
Complete |
Low |
Test CascadeType.DETACH via orm.xml |
Testing |
12.3 |
|
Complete |
Routine JPQL BNF update |
Low |
Updated single_valued_path_expression definition |
JPQL |
4.4.4 |
Complete |
Routine JPQL BNF update |
Low |
New JPQL reserved identifiers should not be used as result variables |
JPQL |
4.4.1 |
Complete |
Low |
attribute-override and association-override available from element-collection XML schema type |
Mapping |
12.3 |
|
Complete |
Medium |
Support for CacheRetrieveMode and CacheStoreMode properties. |
Cache |
3.7.2 |
|
Complete |
Low |
Cacheable attribute added to entity element in orm.xml |
Cache |
12.2.3.3, 12.3 |
|
Complete |
Medium |
Cacheable annotation |
Cache |
3.7, 11.1.7 |
|
Complete |
Low |
Support for JDBC escape sequence for date/time literals (6/19 rev) |
JPQL |
4.6.1 |
|
Complete |
Low |
Allow Lob, Temporal, Enumerated annotations to be applied to element collections annotations and in XML. |
Mapping |
11.1.16, 11.1.24, 11.1.47 |
|
Complete |
Low |
Cache mode elements added to persistence.xml |
Cache |
3.7.1, 3.7.2, 8.3 |
|
Complete |
Low |
Default value change of exclude-unlisted-classes element |
General |
8.2.1.6.1 (7/23) |
|
Complete |
Low |
EntityManagerFactory getProperties returns Map of <String, Object> |
EMF |
7.4 |
|
Complete |
Medium |
Added setProperty method |
EM |
3.1.1 |
|
Complete |
High |
Build strictly-typed Criteria API |
Criteria |
Ch 6 |
|
Complete |
High |
Build weakly-typed Criteria API |
Criteria |
Ch 6 |
|
Complete |
High |
Added getParameters, getParameterValue, getParameter methods to Query interface |
Typed Parameters |
3.8.1, 3.8.5 |
|
Complete |
High |
Populate canonical meta-model for strictly typed Criteria Query building |
Metamodel |
Ch 5 |
|
Complete |
High |
Instantiate meta-model classes for JPA 2.0 from source code annotations |
Metamodel |
Ch 5 |
|
Complete |
High |
Generate meta-model for JPA 2.0 |
Metamodel |
Ch 5 |
|
Complete |
Low |
Optional name element to UniqueConstraint annotation and corresponding XML type. |
Mapping |
11.1.49, 12.3 |
|
Complete |
Medium |
Provide TraversableResolver for use with Bean Validation Factory |
Spec API |
3.6.1.2 |
|
Complete |
Low |
Modified getQueryBuilder to return updated criteria query builder |
EMF, Criteria |
7.4 |
|
Complete |
Low |
New getMetamodel method |
EMF, Metamodel |
7.4 |
|
Complete |
High |
Implement Typed Query interface |
Typed Query |
3.8.1, 3.8.5 |
|
Complete |
High |
Implement Tuple interface |
Typed Query |
3.8.1, 3.8.5 |
|
Complete |
High |
Support Bean Validation: Entity validation upon lifecycle events. |
Bean Validation |
3.6, 3.2.9 |
|
Complete |
Low |
Validation target groups via persistence.xml or createEMF properties Map |
Bean Validation |
3.6.1.2, 8.3 |
|
Complete |
Low |
Modified createQuery to accept updated criteria query definition |
EM, Criteria |
3.1.1 |
|
Complete |
Low |
Modified getQueryBuilder to return updated criteria query builder |
EM, Criteria |
3.1.1. |
|
Complete |
OPENJPA-805 |
High |
JPQL Updates |
JPQL |
Ch. 4 |
Complete |
High |
Migrate existing Criteria Query implementation as OpenJPA extension |
Criteria |
Ch 6 |
|
Complete |
Medium |
OrderBy annotation applied to an element collection of basic type doesn't require property or field name |
Mapping |
11.1.38 |
|
Complete |
Medium |
Added MapKeyEnumerated and MapKeyTemporal annotations and XML. |
Mapping |
11.1.30, 11.1.33, 12.3 |
|
Complete |
Medium |
Allow use of AssociationOverrides with mapped superclass relationships. |
Mapping |
11.1.2 |
|
Complete |
Medium |
Support default query hint for query timeout |
EM, Query |
3.8.8 |
|
Complete |
Medium |
Support persistent access types including @Access annotation and AccessType enum and XML |
General |
2.3, 11.1.1, 12.2.1.4, 12.2.2.4, 12.3 |
|
Complete |
Low |
Remove contiguous and base elements from OrderColumn annotation |
Mapping |
11.1.39 |
|
Complete |
Low |
Removal and revert behavior of getNamedParameters and getPositionalParameters |
Query |
3.8.1 |
|
Complete |
Low |
Added getMetamodel method |
EM, Metamodel |
3.1.1 |
|
Complete |
Low |
Renamed clear method to detach |
EM |
3.1.1 |
|
Complete |
Low |
Changed target-entity attribute to target-class in element-collection |
Mapping |
12.3 |
|
Complete |
Low |
Update pessimistic lock mode names |
Locking |
3.4.4 |
|
Complete |
Low |
Timeouts are in milliseconds. |
Query, Locking |
3.8.8, 3.4.4.3 |
|
Complete |
Low |
Renamed cascade CLEAR to DETACH |
EM |
3.1.1, 3.2.6 |
|
Complete |
Low |
Validation-mode element support added to persistence.xml and to createEMF properties Map |
Bean Validation |
3.6.1.1, 8.3 |
|
Complete |
Low |
Support application/container provided ValidatorFactory |
Bean Validation |
3.6.2 |
|
Complete |
Medium |
PersistenceProviderResolver interface and PersistenceProviderResolverHolder class |
Spec API |
9.3 |
Task list for JSR-317 10/31/2008 public draft
Other Improvements
Status |
JIRA |
Summary |
---|---|---|
Not Started |
Instantiate meta-model classes for JPA 2.0 from XML descriptors |
|
Complete |
Tests that currently fail should be committed to the repository |
|
Complete |
Allow compilation with JDK 6 |
|
Complete |
Bean Validation APIs should be an optional runtime dependency |
|
Complete |
Reflection class performance improvement |
General Tasks
Status |
JIRA |
Summary |
---|---|---|
Not Started |
OpenJPA does not fully support database catalogs |
|
Not Started |
Allow multiple keys for the same property to be specified at different levels |
|
Complete |
Upgrade to JPA 2 - umbrella task - includes updating spec API |
|
Complete |
Map existing OpenJPA extensions to new features of JPA 2.0 |
|
Complete |
Detect and store JPA version |
|
Complete |
Remove early-access disclaimer from the NOTICE files once the spec is released |