The primary focus of the EclipseLink 2.5 release is the delivery of the JPA 2.1 (JSR 338) Reference Implementation.
New features include:
The features in this section are some of the new features added in JPA 2.1.
|EclipseLink has established Maven publication through the Sonatype OSS Nexus instance to Maven Central|
MOXy Named Object Graphs
|Allow a subset of attributes to be marshaled and unmarshaled|
JSON and XML Mappings with JAX-RS
In addition to the features highlighted in the New and Noteworthy section this release also includes a substantial number of bug fixes and enhancements.
The following are known issues that have been identified as potentially effecting users of EclipseLink 2.5.
Some TREAT expressions in the where clause will not work properly.
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.
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.
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.
EclipseLink remains focused on the delivering support for the latest standards. EclipseLink 2.5 offers certified support for:
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
JPA-RS accepts request urls with and without version. The URIs without version are deprecated and clients are encourage use versioned ones.
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.
For more information about future planned EclipseLink releases and patch sets please refer to the releases section of the project summary.
Back to the top