EclipseLink/UserGuide/Developing JPA Projects (ELUG)

From Eclipsepedia

< EclipseLink | UserGuide
Revision as of 16:37, 7 February 2008 by Liza.rekadze.oracle.com (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

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

Copyright © 2009 The Eclipse Foundation. All Rights Reserved

Personal tools