Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327851 - Enable replacement of EL OSGi support with Gemini JPA
Summary: Enable replacement of EL OSGi support with Gemini JPA
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard: osgi
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-15 01:28 EDT by Shaun Smith CLA
Modified: 2022-06-09 10:22 EDT (History)
1 user (show)

See Also:


Attachments
Fixes to the build and refactorings to OSGi bundles. (109.65 KB, patch)
2010-10-19 16:20 EDT, Shaun Smith CLA
no flags Details | Diff
Code initially written in Eclipse Gemini JPA project (27.18 KB, patch)
2010-10-19 19:34 EDT, Michael Keith CLA
michael.keith: review+
Details | Diff
Additions to javax.persistence classes (45.07 KB, patch)
2010-10-19 19:36 EDT, Michael Keith CLA
no flags Details | Diff
Consolidated Patch (124.83 KB, patch)
2010-10-26 15:35 EDT, Shaun Smith CLA
shaun.smith: iplog+
Details | Diff

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