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.

Advertisements

Published by:

salaboy

Open Source Developer. Author of the jBPM, jBPM5, jBPM6 Developer Guide & Mastering Drools Books. Now Principal Software Engineer @ Alfresco, previously Senior Software Developer @ Red Hat / JBoss.

Categories JavaLeave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s