Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315464 - Ability to convert an orm.xml file into an eclipselink-orm.xml file
Summary: Ability to convert an orm.xml file into an eclipselink-orm.xml file
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 2.3   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.3 M2   Edit
Assignee: Nan Li CLA
QA Contact:
URL:
Whiteboard: EaseOfUse
Keywords: plan
Depends on:
Blocks:
 
Reported: 2010-06-02 15:28 EDT by Karen Butzke CLA
Modified: 2013-05-21 14:21 EDT (History)
2 users (show)

See Also:
karenfbutzke: review+


Attachments
proposed patch (22.30 KB, patch)
2012-08-15 17:54 EDT, Nan Li CLA
neil.hauge: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.