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

Bug 279475

Summary: New JPA 2.0 Facet version
Product: [WebTools] Dali JPA Tools Reporter: Neil Hauge <neil.hauge>
Component: GeneralAssignee: Paul Fullbright <paul.fullbright>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: karenfbutzke, shaun.smith
Version: unspecifiedKeywords: plan
Target Milestone: 2.3 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard: JPA2.0

Description Neil Hauge CLA 2009-06-08 10:28:54 EDT
We need a new facet version for JPA 2.0.  This facet version could be used to filter platform selection, showing only JPA 2.0 enabled platforms.
Comment 1 Paul Fullbright CLA 2009-06-08 16:36:03 EDT
Done but not committed.  I think this bears a tiny amount of discussion.

- Added basic JPA 2.0 facet with same requirements as JPA 1.0 facet (java 5.0; one of utility, appclient, ejb, connector, or dynamic web facets)

- Changed base JPA preset to be Java 5.0, Utility 1.0, and JPA 2.0.  Also changed preset label from "Utility JPA project with Java 5.0" to "Default JPA 2.0 Configuration".  This seems to better describe configuration without detailing everything in it.

- Changed base JPA template (what is prespecified in base JPA project wizard) to *not* have fixed facets.  This means you could change from utility to ejb pre-install, for instance.  It also means you can remove the JPA facet from the project at some future date.  It does use the base JPA preset, so the initial configuration is Java 5.0, Utility 1.0, JPA 2.0.
Comment 2 Neil Hauge CLA 2009-06-08 18:32:02 EDT
That all sounds reasonable to me.
Comment 3 Paul Fullbright CLA 2009-06-10 10:36:11 EDT
committed to head