7.6.1.5 Configure WebSphere Application Server Persistence to JPA Specification 2.0

The persistence configuration information in this section sets JPA 2.0 specification in WebSphere over the default JPA 2.1 specification.

This is a mandatory configuration for OFSAA with WebSphere for both fresh and upgrade installation.
To set the JPA 2.0 as the default persistence provider, follow these steps:
  1. Enter the WebSphere URL in the format http://HOST_NAME:PORT_ NUMBER/ibm/console (use https if SSL is enabled.). For example, http://192.168.1.0:9000/ibm/console.
  2. Log in with your administrator user ID and password.
  3. From the LHS menu, click Servers to expand the menu.
  4. Click Server Types to expand the menu further and then click WebSphere Enterprise Application Servers to view the Application servers window.
  5. On the Application servers window, click the required Application Server link.
  6. Click Container Services and then click Default Java Persistence API settings to display the Configuration window:

    Figure 7-7 Default Java Persistence Settings JPA Specification 2.0


    On the Application servers window, click the required Application Server link. Click Container Services and then click Default Java Persistence API settings to display the Configuration window.

  7. From the JPA Specification drop-down, select 2.0 to change the default JPA Specification from 2.1 to 2.0.
  8. Click OK and then click Save on the Console to save the customized configurations.
  9. Restart the WebSphere Application Server to apply the changes.