Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>To deploy the new JPA provider as a part of your application: </p> <ol> <li><p>Ensure <code>persistence.xml &lt;provider&gt;</code> element points to the new JPA provider's implementation of <code>javax.persistence.spi.PersistenceProvider</code>. </p></li> <li><p>Build the new JPA persistence code into the application - deploy all necessary jars into the your application EAR / WAR / CLASSPATH.</p> <p>Copy hibernate3.jar and the required 3rd party libraries available in lib/required Copy lib/jpa/hibernate-jpa-2.0-api-1.0.0.Final.jar to your classpath as well.</p></li> <li><p>Configure the app server class loader order for your application - load the new JPA classes first. <strong>If the class loader is not configured properly, the JPA provider that is included with the application server is used by your application instead of the third-party JPA provider.</strong></p></li> <li><p>If you bundled the provider in an EAR file, in application modules that need JPA access, specify the third-party persistence provider binaries in the Manifest.mf class path.</p> <p>If you bundled the provider in a WAR file, include the necessary provider binaries in the WEB-INF/lib directory of the web application.</p></li> </ol> <p>To deploy the new JPA provider within a shared library: </p> <ol> <li><p>Ensure <code>persistence.xml &lt;provider&gt;</code> element points to the new JPA provider's implementation of <code>javax.persistence.spi.PersistenceProvider</code>. </p></li> <li><p>Define the persistence provider in a shared library</p></li> <li><p>If the library is accessed by many applications, associate the shared library with the server class loader. Otherwise, associate the shared library with the application class loader.</p></li> <li><p>Configure the class loader order for your application - load the new JPA classes first. <strong>If the class loader is not configured properly, the JPA provider that is included with the application server is used by your application instead of the third-party JPA provider.</strong></p></li> </ol> <p><a href="http://pic.dhe.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/tejb_jpadefaultpp.html" rel="nofollow">Websphere 8 JPA provider configuration</a><br> <a href="http://docs.jboss.org/hibernate/entitymanager/3.5/reference/en/html/configuration.html" rel="nofollow">Hibernate 3.5 configuration</a><br> <a href="http://www-01.ibm.com/support/docview.wss?uid=swg21261287" rel="nofollow">WAS CE - overriding class load order</a><br> <a href="http://publib.boulder.ibm.com/wasce/V2.0.0/en/adding-frameworks.html" rel="nofollow">WAS CE 2.0 - using frameworks, including Hibernate</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload