users@glassfish.java.net

Re: [eclipselink-users] GFv3 + EclipseLink >=2.1.1: Remote EJB client cannot transfer JPA entities through remote session bean

From: Tom Ware <tom.ware_at_oracle.com>
Date: Fri, 17 Dec 2010 13:09:09 -0500

We have a static weaving feature that allows you to weave the classes prior to
deployment.

http://wiki.eclipse.org/Using_EclipseLink_JPA_Extensions_%28ELUG%29#How_to_Configure_Static_Weaving_for_JPA_Entities

Xavier Callejas wrote:
> On Vie 17 Dic 2010 10:46:04 Tom Ware escribió:
>> Try running your Disconnected remote standalone Java (EJB) client
>> application with the java VM argument:
>>
>> -javaagent:<eclipselink.jar.location>/eclipselink.jar
>>
>> where <eclipselink.jar.location> is the path to your eclipselink jar. This
>> will enable weaving on the client side.
>
> It worked!
>
> I re-enabled fetchingroups in persistence.xml and still worked.
>
> Is there another way to active weaving in the client side, other than pass -
> javaagent to the jvm?
>
> Thank you in advance!
>
> Xavier.