Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
EclipseLink/UserGuide/JPA/Basic JPA Development
EclipseLink | |
Website | |
Download | |
Community | |
Mailing List • Forums • IRC • mattermost | |
Issues | |
Open • Help Wanted • Bug Day | |
Contribute | |
Browse Source |
Examples
Basic JPA Development
To develop a JPA project, you must be aware of the following items:
Project development is a 3-step process.
Step 1Define your persistence units in persistence.xml. For more information, see Chapter 8 "Entity Packaging" in the JPA Specification. |
Step 2Annotate classes with @Entity, @Embeddable, and @MappedSuperClass and/or define classes in your mapping file (orm.xml). |
Step 3Configure your application with:
|