Difference between revisions of "EclipseLink/UserGuide/JPA/Basic JPA Development/Configuration/JPA/persistence.xml"

From Eclipsepedia

Jump to: navigation, search
m (persistence.xml)
m (persistence.xml)
Line 8: Line 8:
  
 
{{EclipseLink_JPA
 
{{EclipseLink_JPA
|previous=
+
|previous=[http://wiki.eclipse.org/index.php/EclipseLink/UserGuide/JPA/Basic_JPA_Development/Configuration/JPA JPA]
 
|next=[http://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Basic_JPA_Development/Configuration/JPA/Annotations Annotations]
 
|next=[http://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Basic_JPA_Development/Configuration/JPA/Annotations Annotations]
|up=}}
+
|up=[http://wiki.eclipse.org/index.php/EclipseLink/UserGuide/JPA/Basic_JPA_Development/Configuration/JPA JPA]}}

Revision as of 08:42, 15 June 2010

persistence.xml

A persistence unit configures various details that are required when you acquire an entity manager. You specify a persistence unit by name when you acquire an entity manager factory.

You configure persistence units in the JPA persistence descriptor file: persistence.xml.

In this file, you can specify the vendor extensions that this reference describes by using a <properties> element.


Eclipselink-logo.gif
Version: DRAFT
Other versions...