Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Configure the Default JPA Persistence Provider

You can specify which Java Persistence API (JPA) persistence provider to use for each persistence entity in the persistence.xml file. However, if no persistence provider is specified, the domain-wide default provider is used.

Changing the default provider does not affect applications that are already deployed. The setting takes effect when the server is restarted or the application is manually redeployed.

For information about using JPA in Oracle WebLogic Server, see "Using Oracle TopLink with Oracle WebLogic Server" and "Using Oracle Kodo with Oracle WebLogic Server" in Programming Enterprise JavaBeans for Oracle WebLogic Server.

To specify a default JPA provider,

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
  2. In the left pane of the Console, under Domain Structure, select the domain name.
  3. Select Configuration > General > JPA.
  4. From the Default JPA Provider list, select the JPA provider to be used as the default provider.
  5. Click Save.
  6. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
    Not all changes take effect immediately—some require a restart (see Use the Change Center).

Back to Top