Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 401810

Summary: [EclipseLink] Support EclipseLink 2.5 with the JPA 2.0 facet
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JPAAssignee: Karen Butzke <karenfbutzke>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.3   
Target Milestone: 3.3 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Karen Butzke CLA 2013-02-26 11:07:38 EST
We currently only support the EclipseLink 2.5 platform when the JPA 2.1 facet has been chosen. We want the user to be able to choose EclipseLink 2.5 when they have the JPA 2.0 facet selected.

In a new JPA project wizard:
- select JPA 2.0 you will see the "EclipseLink 2.5 (JPA 2.0)" option in the "JPA platform" drop-down.
- select JPA 2.1 you will see the "EclipseLink 2.5 (JPA 2.1)" option in the "JPA platform" drop-down.

When changing an existing JPA 2.0 faceted project with the EclipseLink 2.5 paltform selected to the JPA 2.1 facet the user will get an error saying to change the JPA platform. The user will see the currently selected "EclispeLink 2.5 (JPA 2.0)" along with the "EclipseLink 2.5 (JPA 2.1)" that needs to be selected.
Comment 2 Karen Butzke CLA 2013-02-27 17:41:08 EST
We had a change of plans after a team discussion with Shaun. Now when you choose the JPA 2.0 facet, you will see an "EclipseLink 2.4.x/2.5.x" platform. Choosing JPA 2.1 facet you will see "Eclipselink 2.5.x" platform.

Under the covers the "EclipseLink 2.4.x/2.5.x" platform will just be the EclipseLink 2.4 platform, so there will not be support for the version 2.5 eclipselink-orm.xml or for 2.5 persistence.xml properties.