Jump to: navigation, search

EclipseLink/Examples/JPA/Configure

To use JPA you will need to have the following configurations:

  • Jar's with Entities
  • Properties
    • 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.