+

Search Tips   |   Advanced Search

Associating persistence units and data sources


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

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

 

 

Next steps

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's Guide.

 

Related tasks


Develop and packaging JPA applications for a Java EE environment
Develop and packaging JPA applications for a Java SE environment
Set a JDBC provider and data source
Task overview: Storing and retrieving persistent data with the Java Persistence API (JPA)

 

Related information


http://fred.raleigh.ibm.com:7080/help/topic/com.ibm.websphere.base.doc/info/aes/ae/Requirements_for_setting_isolation_level37.html