JSR 317 = JPA 2.0
En el caso de JPA nuevas funcionalidades seran tratadas por el grupo de expertos con el fin de refinar y flexibilizar la api de persistencia. Los temas que se tocaran en la especificacion son los siguientes:
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
Por el lado del calendario, es igual al de EJB 3.1.
En este caso la especificacion se basa en tomar las distintas features provistas por los distintos proveedores, tal es el caso de Toplink extensions para la mejora de JPQL y los criterion de Hibernate para la busqueda segun criterios.