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:52 -0500

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

Weiquan Yuan wrote:
> It looks like the problem is caused by weaving? anyone can tell me
> where I can find weaving tutorial? thanks
>
> On Fri, Dec 17, 2010 at 12:07 PM, Xavier Callejas
> <xavier_at_wflogistics.com> 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.
>> _______________________________________________
>> eclipselink-users mailing list
>> eclipselink-users_at_eclipse.org
>> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
>>
>
>
>