users@glassfish.java.net

Re: JPA 2 possible with Glassfish 2 somehow?

From: Mitesh Meswani <mitesh.meswani_at_oracle.com>
Date: Wed, 09 Mar 2011 13:50:09 -0800

You can try following
1. Replace lib/javax.persistence.jar in V2 with the one from V3 and copy
modules/org.eclipse.* to lib/ dir of v2
2. Change your app to explicitly use EclipseLink as persistence provider
3. Restart and Redeploy.

Please note above has not been tried / supported but should work.
On 3/9/2011 4:34 AM, forums_at_java.net wrote:
> Hi folks,
>
> is it possible to use JPA 2 and Hibernate 3.6 with Glassfish 2 without
> updating to Glassfish 3?
>
> What do I have to do for that? Change some Jars?
>
> Michael
>
>
> --
>
> [Message sent by forum member 'ztangm']
>
> View Post: http://forums.java.net/node/779773
>
>