Jump to: navigation, search

Difference between revisions of "EclipseLink/UserGuide/JPA/Basic JPA Development"

m
m (Replacing page with ''''Warning See "Understanding EclipseLink Application Development" in the [http://www.eclipse.org/eclipselink/documentation/ EclipseLink Concepts ...')
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{EclipseLink_UserGuide
+
'''[[Image:Elug_draft_icon.png|Warning]] See "Understanding EclipseLink Application Development" in the [http://www.eclipse.org/eclipselink/documentation/ EclipseLink Concepts Guide]'''
|info=y
+
|toc=n
+
|examples=y
+
|example=*[[EclipseLink/Examples/JPA/Configure|Configuration]]
+
*[[EclipseLink/Examples/JPA/Caching|Caching]]
+
*[[EclipseLink/Examples/JPA#Querying|Queries]]
+
}}
+
=Basic JPA Development=
+
The following sections introduce EclipeLink JPA and describe the EclipeLink enhancements you can use for basic JPA development tasks.
+
 
+
*[[EclipseLink/UserGuide/JPA/Basic JPA Development/EclipseLink JPA|About EclipseLink JPA]]
+
*[[EclipseLink/UserGuide/JPA/Basic JPA Development/Configuration|JPA Configuration Basics]]
+
*[[EclipseLink/UserGuide/JPA/Basic JPA Development/Entities/Creating_and_Configuring_Entities|Configuring Entities]]
+
*[[EclipseLink/UserGuide/JPA/Basic JPA Development/Mapping|Mappings]]
+
*[[EclipseLink/UserGuide/JPA/Basic JPA Development/Caching|Caching]]
+
*[[EclipseLink/UserGuide/JPA/Basic JPA Development/Querying|Queries]]
+
*[[EclipseLink/UserGuide/JPA/Basic JPA Development/Transactions|Transactions]]
+
 
+
<!--
+
Project development is a 3-step process.
+
<table width="800" cellpadding="5">
+
<tr valign="top">
+
<td>
+
<div style="padding:5px;border:1px solid #000000;width:250px;background:#cff8d9">
+
==Step 1==
+
Define your persistence units in <tt>persistence.xml</tt>.
+
</div>
+
{{Template:EclipseLink_Spec
+
|section=Section 3.1, "EntityManager," and Chapter 8. "Entity Packaging."
+
}}
+
 
+
*[[EclipseLink/UserGuide/JPA/Basic_JPA_Development/Configuration/JPA/persistence.xml|Specifying the persistence unit]]
+
</td>
+
<td>
+
<div style="padding:5px;border:1px solid #000000;width:250px;background:#cff8d9">
+
==Step 2==
+
Annotate classes with @Entity, @Embeddable, and @MappedSuperClass and/or define classes in your mapping file (orm.xml).
+
</div>
+
{{Template:EclipseLink_Spec
+
|section=Chapter 2 "The Entity Class"
+
}}
+
 
+
*[[EclipseLink/UserGuide/JPA/Basic_JPA_Development/Mapping/Entity|Configuring an entity]]
+
*[[Using_EclipseLink_JPA_Extensions_%28ELUG%29|EclipseLink extensions]]
+
</td>
+
<td>
+
<div style="padding:5px;border:1px solid #000000;width:250px;background:#cff8d9">
+
==Step 3==
+
Configure your application with:
+
* javax.persistence.transactionType
+
* javax.persistence.jtaDataSource
+
* javax.persistence.nonJtaDataSource
+
</div>
+
* [[EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Platform_Specific_Configurations|Application development]]
+
*[[Packaging_and_Deploying_EclipseLink_JPA_Applications_%28ELUG%29|Packaging and deployment]]
+
</td>
+
</tr>
+
</table>
+
-->
+
 
+
{{EclipseLink_JPA
+
|previous=[[EclipseLink/UserGuide/JPA/Introduction/About_This_Documentation|About This Documentation]]
+
|next=    [[EclipseLink/UserGuide/JPA/Basic JPA Development/EclipseLink JPA|About EclipseLink JPA]]
+
|up=      [[EclipseLink/UserGuide/JPA|JPA User's Guide]]
+
|version=2.2.0 DRAFT}}
+

Latest revision as of 08:09, 18 January 2013

Warning See "Understanding EclipseLink Application Development" in the EclipseLink Concepts Guide