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.
Difference between revisions of "EclipseLink/UserGuide/JPA/Basic JPA Development"
< EclipseLink | UserGuide | JPA
m |
m |
||
Line 1: | Line 1: | ||
− | __NOTOC__{{EclipseLink_Examples | + | {{EclipseLink_UserGuide}} |
+ | __NOTOC__ | ||
+ | =Basic JPA Development= | ||
+ | {{EclipseLink_Examples | ||
|example=*[[EclipseLink/Examples/JPA/Configure|Configuration]] | |example=*[[EclipseLink/Examples/JPA/Configure|Configuration]] | ||
*[[EclipseLink/Examples/JPA/Caching|Caching]] | *[[EclipseLink/Examples/JPA/Caching|Caching]] | ||
*[[EclipseLink/Examples/JPA#Querying|Queries]] | *[[EclipseLink/Examples/JPA#Querying|Queries]] | ||
}} | }} | ||
− | |||
− | |||
To develop a JPA project, you must be aware of the following items: | To develop a JPA project, you must be aware of the following items: | ||
*[[EclipseLink/UserGuide/JPA/Basic JPA Development/Configuration|JPA Configuration]] | *[[EclipseLink/UserGuide/JPA/Basic JPA Development/Configuration|JPA Configuration]] |
Revision as of 13:31, 18 June 2010
Basic JPA Development
Examples
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. |
Step 2Annotate classes with @Entity, @Embeddable, and @MappedSuperClass and/or define classes in your mapping file (orm.xml). |
Step 3Configure your application with:
|