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

Bug 330530

Summary: Should not ship javax.persistence as nested lib
Product: [RT] Gemini.JPA Reporter: Alex Blewitt <alex.blewitt>
Component: CoreAssignee: Michael Keith <michael.keith>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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 ***