title: Bundling a different version of the embedded JPA provider in your EAR
body: <p>I'm developing a web application that is being deployed to a GlassFish 3.1 instance.</p>
  
  <p>Eclipselink 2.4 was recently released which has some nice additional features as highlighted in this <a href="http://java-persistence-performance.blogspot.com/2012/05/jpql-vs-sql-have-both-with-eclipselink.html" rel="nofollow">blog post</a>, that I would really like to take advantage of in my app.</p>
  
  <p>I've bundled the EclipseLink 2.4 library into my application (It sits in the <code>/lib</code> folder), but Glassfish continues to use the embedded Eclipselink 2.3 library.</p>
  
  <p>How do I make GlassFish use my bundled EclipseLink provider?</p>