Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330530 - Should not ship javax.persistence as nested lib
Summary: Should not ship javax.persistence as nested lib
Status: CLOSED DUPLICATE of bug 328568
Alias: None
Product: Gemini.JPA
Classification: RT
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael Keith CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-17 17:17 EST by Alex Blewitt CLA
Modified: 2010-11-18 09:50 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Blewitt CLA 2010-11-17 17:17:21 EST
Build Identifier: 1.0.0.M2-incubation

The org.eclipse.gemini.javax.persistence ships a javax.persistence library encased in a bundle with some other helpful JARs. However, by doing so, it means that it's potentially incompatible with any other installation of the javax.persistence specification that may be already installed in an OSGi runtime.

The bundle should really be split apart to separate out the Gemini contribution from the standard javax.persistence API/SPI.

Reproducible: Always
Comment 1 Alex Blewitt CLA 2010-11-17 17:23:35 EST
In fact ... I don't know how this actually would ever work. It subclasses form an internal class (so the type information can't be found) and the classes used to define the persistence wirings will be from a different library to that of the internal lib used by this bundle.
Comment 2 Michael Keith CLA 2010-11-18 09:50:22 EST
EclipseLink 2.2 (M5 or later) build of javax.persistence bundle must be used.

*** This bug has been marked as a duplicate of bug 328568 ***