+

Search Tips   |   Advanced Search

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.


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.


Related concepts

  • Requirements for setting data access isolation levels


    Related tasks

  • 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


    Apache OpenJPA User Guide: Persistence


    Related information:

    Apache OpenJPA User Guide