Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Category:JPA"

m (quick 1, 2, 3, steps)
Line 42: Line 42:
  
  
[[Category:Architecture]]
+
[[Category:ELUG]]

Revision as of 23:49, 21 May 2009

Eclipselink jpa.png This page lists all sections in the EclipseLink User's Guide for JPA (Java Persistence API) projects. You can also use EclipseLink's Native ORM support to extend JPA.


Developing Applications using EclipseLink JPA

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

Copyright © Eclipse Foundation, Inc. All Rights Reserved.