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 "EclipseLink/UserGuide/JPA/Basic JPA Development/Configuration/JPA/persistence.xml"

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...

Copyright © Eclipse Foundation, Inc. All Rights Reserved.