Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop EJB applications > Assembling applications that use the Java Persistence API


Associate persistence providers and data sources

Java Persistence API (JPA) applications specify the underlying data source that is 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.


Procedure


What to do next

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.
Requirements for setting data access isolation levels
Configure a JDBC provider and data source
Task overview: Storing and retrieving persistent data with the JPA API
Develop JPA 2.x applications for a Java EE environment
Develop JPA 2.x applications for a Java SE environment


Related


Troubleshoot JPA applications
Apache OpenJPA User Guide

+

Search Tips   |   Advanced Search