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). Thanks, Dinkar -- View this message in context: http://n2.nabble.com/jira-Created-OPENJPA-1600-Allow-enhancer-to-read-entities-inside-jar-archive-tp4798494p4814365.html Sent from the OpenJPA Developers mailing list archive at Nabble.com.
