users@glassfish.java.net

Re: GF v2 bundled with EclipseLink?

From: Sahoo <Sahoo_at_Sun.COM>
Date: Fri, 04 Jul 2008 06:49:38 +0530

It should not be that difficult to use eclipselink in GFv2. There are
two options:
A. Change your app to specify the provider name in persistence.xml file.
In this case just copy the jar to domain1/lib and restart GF.

B. You are not specifying the provider name in your app, yet want to use
eclipselink.
1. Just copy the jar to domain1/lib.
2. Change the system property "com.sun.persistence.defaultProvider" to
eclipselink provider class name using admingui.
3. restart GF

Thanks,
Sahoo

glassfish_at_javadesktop.org wrote:
> On July 9th EclipseLink 1.0 will be released.
>
> I wonder if there will be a glassfish v2 release bundled with EclipseLink?
>
> Since EclipseLink is more powerful than Toplink Essentials and solves some serious restrictions of TLE this would be a great package. Another reason is that the community does not have to wait till 2009, when GF v3 arrives (with EclipseLink).
>
> I know that there is a way to exchange the Persistence Provider manually, but is it really that easy in this case?
>
> Nevertheless, an "out of the box" release would be very useful (for everyone).
> [Message sent by forum member 'zebhed' (zebhed)]
>
> http://forums.java.net/jive/thread.jspa?messageID=284291
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>