+

Search Tips   |   Advanced Search

Associating 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.


Tasks


What to do next

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


Related:

  • Requirements for setting data access isolation levels
  • Configure a JDBC provider and data source
  • Developing JPA 2.x applications for a Java EE environment
  • Developing JPA 2.x applications for a Java SE environment
  • Troubleshoot JPA applications