The Java Persistence API (JPA) specification requires a default provider to be defined. If you have applications that use JPA, it is recommended you use this page to provide default values. To increase the portability of your applications, you can use this page to configure the default JPA settings for applications running on this server instead of defining the <provider> element in each persistence unit in your applications. The JPA settings defined here are used for the persistence unit of an application only when the application does not define the JPA settings for that persistence unit.
Avoid trouble: Application JPA settings always override
the settings on this page. gotchaTo view this administrative console page, click .
Specify the default persistence provider for the application server container. The default persistence provider can be selected either from a list of providers that are included with the product or a user-specified alternate persistence provider.
Avoid trouble: If an alternate persistence
provider is specified as the default, make sure the alternate persistence
provider is created in the server. See the information center topic
on using a third-party persistence provider.gotchaSpecify the default JTA data source used by persistence units for the application server container.
Avoid trouble: If a default JTA data source
is not specified, ensure an appropriate JTA data source is specified
in the <jta-data-source> or connection properties field in the <properties>
element in the persistence unit.gotchaSpecify the default non-JTA data source used by persistence units for the application server container.
Avoid trouble: Some JPA entity features
will require a non-JTA data source to be specified. An example of
this is automatic entity identity generation. Ensure a non-JTA data
source is configured to match your application needs. For information
on configuring a non-JTA data source, see the information center topic
on associating persistence units and data sources.gotcha