Jump to: navigation, search

Difference between revisions of "EclipseLink/UserGuide/Developing JPA Projects (ELUG)"

m (EclipseLink User's Guide)
m
 
Line 1: Line 1:
 +
[[Image:Elug draft icon.png]] '''For the latest EclipseLink documentation, please see http://www.eclipse.org/eclipselink/documentation/ '''
 +
 +
----
 +
 
__NOTOC__
 
__NOTOC__
 
<table width="800" cellpadding="5">
 
<table width="800" cellpadding="5">

Latest revision as of 10:23, 18 July 2012

Elug draft icon.png For the latest EclipseLink documentation, please see http://www.eclipse.org/eclipselink/documentation/



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


EclipseLink User's Guide

The following sections describe the Java Persistence API, including the EclipseLink implementation:


Related Topics


Copyright Statement