Bug 296269 - JPA 2.0: Add GlassFish V3 configuration process to enable the JPA 2.0 library functionality
Summary: JPA 2.0: Add GlassFish V3 configuration process to enable the JPA 2.0 library...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael OBrien CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/D...
Whiteboard:
Keywords:
Depends on: 297159 322287
Blocks: 320826 322288 249213 297711 310176 316365 316512
  Show dependency tree
 
Reported: 2009-11-26 12:32 EST by Michael OBrien CLA
Modified: 2022-06-09 10:09 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael OBrien CLA 2009-11-26 12:32:11 EST
>Currently the standalone and bundled (with NetBeans 6.8M1) b73 versions (20091119) of GlassFish V3 ship and run out of the box fine with JPA 2.0 support.

http://download.java.net/glassfish/v3/promoted/

The single javax.persistence.jar in the modules directory is the JPA 2.0 specification version.

>The remaining verification is to test the eclipselink.jpa.test server tests themselves
- there should be no issues with these

>Action - currently no server modifications are necessary
Comment 1 Michael OBrien CLA 2009-11-30 10:01:38 EST
>Need to also test against older GlassFish V2 server and override the JPA 1.0 based essentials library
Comment 2 Michael OBrien CLA 2009-12-08 00:16:34 EST
>Glassfish V3 b73 does not include the services/*.spi.PersistenceProvider file that defines the APT canonical metamodel generation processor to use when generating metamodel "_" classes - workaround is to use eclipselink.jar from the 2.0 trunk post build 5983
see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=297159
Comment 3 Doug Clarke CLA 2009-12-10 11:17:11 EST
Moving these bugs to 2.0.1 since 2.0 is shipping today. If the issue is resolved for 2.0 please change the target back when you close the bug.
Comment 4 Michael OBrien CLA 2009-12-14 02:52:13 EST
>We need an ant target that will generate the 6 separate bundle jars required by Glassfish V3 - so we can replace the jars with the latest split-bundled eclipselink.jar in the absence of overriding them on the classpath or domain.xml.
org.eclipse.persistence.antlr
org.eclipse.persistence.asm
org.eclipse.persistence.core
org.eclipse.persistence.jpa
org.eclipse.persistence.jpa.modelgen
org.eclipse.persistence.oracle

>see enhancement bug# 297711
Comment 5 Michael OBrien CLA 2010-01-21 14:16:31 EST
>The V2.1 work will be addressed as required.
Comment 6 Michael OBrien CLA 2010-06-09 15:48:56 EDT
>actually there is an existing dev-package-bundles that we can use on the root that writes to <trunk>/bundles in the form
    <target name="dev-package-bundles" depends="clean-runtime-checkedin">

F:\view_w35f\plugins\org.eclipse.persistence.antlr_2.2.0.qualifier.jar
F:\view_w35f\plugins\org.eclipse.persistence.asm_2.2.0.qualifier.jar
F:\view_w35f\plugins\org.eclipse.persistence.core_2.2.0.qualifier.jar
F:\view_w35f\plugins\org.eclipse.persistence.jpa_2.2.0.qualifier.jar
F:\view_w35f\plugins\org.eclipse.persistence.oracle_2.2.0.qualifier.jar
>non-standard
F:\view_w35f\plugins\org.eclipse.persistence.jpa.modelgen_2.2.0.qualifier.jar
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:09:13 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink