EclipseLink 2.5.2 The primary focus of the EclipseLink 2.5 release is the delivery of the JPA 2.1 (JSR 338) Reference Implementation. New features include: Full JPA 2.1 support

Maven Central support

New DB platforms: HANA and Pervasive

JPA-RS Enhancements

MOXy - NamedObjectGraphs

New and Noteworthy JPA 2.1 The features in this section are some of the new features added in JPA 2.1. Criteria Bulk Update/Delete

Stored Procedures

JPQL Generic function support

Injectable Entity Listeners

Treat

Converters

DDL Gen

JPA 2.1 - Entity Graphs Documentation Maven Central EclipseLink has established Maven publication through the Sonatype OSS Nexus instance to Maven Central Documentation MOXy Named Object Graphs Allow a subset of attributes to be marshaled and unmarshaled JSON with Padding JSON and XML Mappings with JAX-RS JSON with Padding MOXyJsonProvider @XmlInverseReference @XmlElementWrapper

Known Issues The following are known issues that have been identified as potentially effecting users of EclipseLink 2.5. As of the 2.5.2 patch set, builds will no longer be published to the download.eclipse.org Maven repository. Builds will continue to be published oss.sonatype.com

Bug 374771 Some TREAT expressions in the where clause will not work properly.

Bug 404294 Application managed persistence contexts (EntityManager) using JTA transactions must join the active transaction where as previously it automatically joined. Without the joinTransaction call, the changes made in the Entitymanager will not be commited when the JTA transaction compltes.

Bug 407570 Attribute defined in an unmapped POJO and inhertited by an Entity, may not be be persisted. Simplest solution is to ensure that all the persisted attributes are mapped (ie. @MappedSuperclass). See the bug for futher details.

Bug 408015 Redploying a JPA-RS persistence unit will not always update the persistence unit with new mappings. Two workarounds are described in the bug.

When running EclipseLink 2.5 in Glassfish 4.0, you must specify a valid datasource in the persistence.xml through either the jta-data-source or non-jta-data-source tags.

Standards EclipseLink remains focused on the delivering support for the latest standards. EclipseLink 2.5 offers certified support for: Java Persistence (JPA) 2.1 - JSR 338

Java Architecture for XML Binding (JAXB) 2.2 - JSR 222

Service Data Objects (SDO) 2.1.1 - JSR 235

Deprecated Functionality In EclipseLink 2.5 the following features/API have been deprecated. Please upgrade to the suggested alternatives to avoid issues in the future when these deprecated features/AIP might be removed. release pages Bug 399676: Deprecation of non-versions REST URIs JPA-RS accepts request urls with and without version. The URIs without version are deprecated and clients are encourage use versioned ones.

Retention Policy The previous EclipseLink 2.5 releases will remain available for download from the previous releases page where it remain for a minimum period of 2 years before becoming available for archival.