title: How to configure dyanmic weaving for eclipselink
body: <p>When I run JPA JUnit cases for a given set of Entities. The very first test case is failing and rest other are successful.</p>
  
  <p>I am using JPA2.0 with Eclipselink2.3.2 and spring3.0. Currently i configured weaving as static </p>
  
  <pre><code>&lt;property name="jpaPropertyMap"&gt;
      &lt;map&gt;
      &lt;entry key="eclipselink.weaving" value="static"&gt;&lt;/entry&gt;
      &lt;/map&gt;
  &lt;/property&gt;
  </code></pre>
  
  <p>This is disabling the lazy-loading feature and loading all the entities as eager.
  Can anyone let us know how to configure weaving.</p>
  
  <p>Thanks in advance.</p>