Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
EclipseLink/Examples/JPA/Configure
< EclipseLink | Examples | JPA
Revision as of 10:05, 16 October 2007 by Guy.pelletier.oracle.com (Talk | contribs)
To use JPA you will need to have the following configurations:
- Jar(s) containing your Entities, Embeddable's and MappedSuperclasses (all decorated with the necessary annotations or XML descriptors)
- Persistence.xml
- Properties - use these properties to further configure your JPA application.
- javax.persistence.transactionType - Standard JPA PersistenceUnitTransactionType property, JTA or RESOURCE_LOCAL.
- javax.persistence.jtaDataSource - Standard JPA JTA DataSource name.
- javax.persistence.nonJtaDataSource - Standard JPA non-JTA DataSource name.