Using third-party persistence providers

Java™ Persistence API (JPA) for WebSphere® Application Server supports third-party persistence providers in their application server environment.

About this task

Java EE applications that use JPA functions can employ third-party persistence providers other than the providers that are included with the application server. Applications can also specify an Apache OpenJPA or EclipseLink provider that is a different version than what is included with the application server, as long as the same version of the JPA specification is supported.

There are two basic means to incorporate third-party providers into an application:
  • Embedding the persistence provider inside an application
  • Using shared libraries
Depending on your requirements, you can embed a persistence provider inside an application, or place the persistence provider into a shared library.
Avoid trouble Avoid trouble: Enablement of third-party JPA run times and the deployment of their applications are supported on WebSphere Application Server. However, no support is provided for resolving JAR file conflict problems or problems that a stack trace indicates are in the third-party code.gotcha

Procedure


Icon that indicates the type of topic Task topic



Timestamp icon Last updated: March 5, 2017 17:27
File name: tejb_jpa3rdparty.html