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

About this task

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




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Oct 21, 2010 1:44:59 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-express-dist&topic=tejb_defjpadatasource
File name: tejb_defjpadatasource.html