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

Bug 327851

Summary: Enable replacement of EL OSGi support with Gemini JPA
Product: z_Archived Reporter: Shaun Smith <shaun.smith>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: michael.keith
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: osgi
Attachments:
Description Flags
Fixes to the build and refactorings to OSGi bundles.
none
Code initially written in Eclipse Gemini JPA project
michael.keith: review+
Additions to javax.persistence classes
none
Consolidated Patch shaun.smith: iplog+

Description Shaun Smith CLA 2010-10-15 01:28:16 EDT
It is desirable to enable upgrading to Gemini JPA by swapping out the "legacy" EclipseLink OSGi bundles in favour of those provided by Gemini JPA.  Currently, Gemini JPA and EclipseLink both provide javax.persistence bundles, each with different provider resolvers.  A single shared javax.persistence bundle compatible with both Gemini JPA and EclipseLink OSGi would enable both swapping out EclipseLink OSGi for Gemini JPA and co-existence of both in the same framework.
Comment 1 Shaun Smith CLA 2010-10-19 16:20:28 EDT
Created attachment 181220 [details]
Fixes to the build and refactorings to OSGi bundles.

With javax.persistence's use of a new provider resolver (provided in other patch) the version number needs to be bumped up and this means changes to the build files.

All OSGi functionality has been moved from o.e.p.jpa into o.e.p.jpa.osgi.  o.e.p.jpa.osgi has been promoted to a bundle (from fragment) and o.e.p.jpa.equinox.weaving is now a fragment of it rather than of o.e.p.jpa.
Comment 2 Michael Keith CLA 2010-10-19 19:34:39 EDT
Created attachment 181236 [details]
Code initially written in Eclipse Gemini JPA project

Adding this code should help provide the additional functionality.
Comment 3 Michael Keith CLA 2010-10-19 19:36:46 EDT
Created attachment 181237 [details]
Additions to javax.persistence classes 

The attached code will allow EclipseLink and Gemini to share the javax.persistence bundle.
Comment 4 Shaun Smith CLA 2010-10-26 15:35:01 EDT
Created attachment 181770 [details]
Consolidated Patch

Updates build to remove obsolete dependency on Equinox from o.e.p.jpa.osgi and o.e.p.jpa.equinox (which only relies on OSGi APIs).
Comment 5 Shaun Smith CLA 2010-10-26 16:16:57 EDT
Reviewed by Tom Ware.
Comment 6 Shaun Smith CLA 2010-10-27 13:08:38 EDT
Comment on attachment 181770 [details]
Consolidated Patch

CQ3864
Comment 7 Shaun Smith CLA 2011-06-01 12:14:36 EDT
Should have been closed when patch committed.
Comment 8 Eclipse Webmaster CLA 2022-06-09 10:22:12 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink