WAS v8.5 > Develop applications > Develop EJB applications > Assemble applications that use the Java Persistence API

Associate persistence providers and data sources

Java Persistence API (JPA) applications specify the underlying data source used by the persistence provider to access the database.

The application server provides three methods for defining the data sources in the persistence.xml file.

For information about configuring data sources, see the topic on creating and configuring a data source.

For information about data sources and JPA, see the section on persistence in the Apache OpenJPA User Guide.


Related concepts:

Requirements for setting data access isolation levels


Related


Configure a JDBC provider and data source
Develop JPA 2.x applications for a Java EE environment
Develop JPA 2.x applications for a Java SE environment
Troubleshooting JPA applications


Reference:

Apache OpenJPA User Guide: Persistence


Related information:

Apache OpenJPA User Guide


+

Search Tips   |   Advanced Search