openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dinkar Rao <>
Subject Re: [jira] Commented: (OPENJPA-1600) Allow enhancer to read entities inside jar archive
Date Sun, 28 Mar 2010 19:17:10 GMT

Hi Pinaki,

One issue you might encounter applies to the order of loading of the classes
in the JVM. If the jar file containing persistence.xml is loaded AFTER the
jar file containing the externally serializable entity, then load-time
enhancement (via javaagent) might not be able to enhance the already loaded
external entity.

I had faced a very similar problem with AspectJ's weaver in a JEE
environment (under WebSphere).

View this message in context:
Sent from the OpenJPA Developers mailing list archive at

View raw message