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

From Eclipsepedia

Jump to: navigation, search
m (Developing JPA Projects)
m (EclipseLink User's Guide)
Line 37: Line 37:
 
The following sections describe the Java Persistence API, including the EclipseLink implementation:
 
The following sections describe the Java Persistence API, including the EclipseLink implementation:
  
*[[Introduction to Java Persistence API (ELUG)]]
+
*[[Introduction to Java Persistence API (ELUG)|Introduction to Java Persistence API]]
  
*[[Introduction to EclipseLink JPA (ELUG)]]
+
*[[Introduction to EclipseLink JPA (ELUG)|Introduction to EclipseLink JPA]]
  
*[[Using EclipseLink JPA Extensions (ELUG)]]
+
*[[Using EclipseLink JPA Extensions (ELUG)|Using EclipseLink JPA Extensions]]
  
*[[Configuring a EclipseLink JPA Application (ELUG)]] – contains information on how to configure the EclipseLink persistence project, as well as set up the application configuration and packaging.
+
*[[Configuring a EclipseLink JPA Application (ELUG)|Configuring a EclipseLink JPA Application]] – contains information on how to configure the EclipseLink persistence project, as well as set up the application configuration and packaging.
  
*[[Developing Applications Using EclipseLink JPA (ELUG)]] – describes the actual steps you have to perform to develop your EclipseLink JPA application.
+
*[[Developing Applications Using EclipseLink JPA (ELUG)|Developing Applications Using EclipseLink JPA]] – describes the actual steps you have to perform to develop your EclipseLink JPA application.
  
*[[Packaging and Deploying EclipseLink JPA Applications (ELUG)]]
+
*[[Packaging and Deploying EclipseLink JPA Applications (ELUG)|Packaging and Deploying EclipseLink JPA Applications]]
  
  

Revision as of 12:37, 7 February 2008

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