Sun has submitted JSR-317, Java Persistence 2.0, to the Java Community Process. According to the JSR,
The purpose of the Java Persistence 2.0 specification is to augment the Java Persistence API to include further features requested by the community, including additional object/relational mapping functionality and query language capabilities, a criteria-based query API, and standardization of features currently designated as optional, and to align it with related JSRs that are currently in-process and/on in-plan for the Java EE 6 timeframe.
Aspects that should be considered by the Expert Group for inclusion in this work include, but are not limited to, the following:
>
- Expanded object/relational mapping functionality, including greater flexibility in combining existing mapping options, support for collections of embedded objects, multiple levels of embedded objects, ordered lists, combinations of access types, etc.
- Additions to the Java Persistence query language
- An API for "criteria" queries
- Standardization of sets of "hints" for query configuration and for entity manager configuration
- Standardization of additional metadata to support DDL generation and "Java2DB" mapping
- Expanded pluggability contracts to support efficient passivation and replication of extended persistence contexts in Java EE environments
- Standardization of additional contracts for entity detachment and merge, and persistence context management
- Support for validation
Comments are due by July 30.