Default Java Persistence API settings
To increase the portability of your applications, use this page to configure the default Java™ Persistence API (JPA) settings for applications running on this server instead of defining the <provider> element in each persistence unit in your applications.
You can choose a default JPA persistence provider, a data source to use by default when enlisting in Java Transaction API (JTA) transactions, and a data source that the JPA persistence provider can use for operations that must avoid enlistment in JTA transactions. The data sources are identified by their Java Naming and Directory Interface (JNDI) name. The JPA settings defined on this page are used for the persistence unit of an application only when the application does not define the JPA settings for that persistence unit.

To view this administrative console page, click
.JPA specification
Specify the JPA specification to use for the default provider. Select from the list of supported specification levels.
- Default
- 2.1
Default persistence provider
Specify the default persistence provider for the application server container.
- Default for JPA 2.1
- org.eclipse.persistence.jpa.PersistenceProvider
- Default for JPA 2.0
- com.ibm.websphere.persistence.PersistenceProviderImpl

Default JTA data source JNDI name
Specify the default JTA data source used by persistence units for the application server container.
- Default
- None

Default non-JTA data source JNDI name
Specify the default non-JTA data source used by persistence units for the application server container.
- Default
- None
