I want to change EclipseLink from 2.5.0 to 2.5.1 in GlashFish 4.0. I have downloaded the OSGi bundle and replaced the following jar files
- org.eclipse.persistence.antlr.jar
- org.eclipse.persistence.jpa.jar
- org.eclipse.persistence.asm.jar
- org.eclipse.persistence.jpa.modelgen.jar
- org.eclipse.persistence.core.jar
- org.eclipse.persistence.oracle.jar
- javax.persistence.jar
under $GLASSFISH_HOME/glassfish/modules
.
After doing this, the version still remains the same. The following code,
String version = org.eclipse.persistence.Version.getVersion();
System.out.println("EclipseLink version : " + version);
still displays the version 2.5.0.
The bundle contains no eclipselink-x.x.x.jar
.
What else is required to be changed? I'm using NetBeans 7.2.1.