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

Bug 315464

Summary: Ability to convert an orm.xml file into an eclipselink-orm.xml file
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JPAAssignee: Nan Li <nan.n.li>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: douglas.clarke, neil.hauge
Version: 2.3Keywords: plan
Target Milestone: 3.3 M2Flags: karenfbutzke: review+
Hardware: PC   
OS: Windows XP   
Whiteboard: EaseOfUse
Attachments:
Description Flags
proposed patch neil.hauge: iplog+

Description Karen Butzke CLA 2010-06-02 15:28:03 EDT
We currently have the ability to upgrade the version of an orm.xml or persistence.xml. We could add a menu option for converting an orm.xml file into an eclipselink-orm.xml file.
Comment 1 Neil Hauge CLA 2011-07-01 16:25:46 EDT
Moving JPA specific bugs to new JPA component in bugzilla.
Comment 2 Nan Li CLA 2012-08-15 17:54:34 EDT
Created attachment 219928 [details]
proposed patch

The function only works with generic mapping files on an EclipseLink platform. That is, the "Upgrade To EclipseLink Mapping File" menu item shows up only when right-clicking a generic mapping file of an EclipseLink project. Users can invoke the function by right-clicking either the mapping file source or corresponding JPA context node of the mapping file. After upgrading, the mapping file will have EclipseLink namespace, schema location, and the latest support version of the platform.