Skip to main content
Jump to: navigation, search

EclipseLink/UserGuide/JPA/Basic JPA Development

< EclipseLink‎ | UserGuide‎ | JPA
Revision as of 11:20, 16 June 2010 by (Talk | contribs) (Basic JPA Development)

Basic JPA Development

To develop a JPA project, you must configure the following items:

Project development is a 3-step process.

Step 1

Define your persistence units in persistence.xml.

Step 2

Annotate classes with @Entity, @Embeddable, and @MappedSuperClass and/or define classes in your mapping file (orm.xml).

Step 3

Configure your application with:

  • javax.persistence.transactionType
  • javax.persistence.jtaDataSource
  • javax.persistence.nonJtaDataSource

Version: DRAFT
Other versions...

Back to the top