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/Advanced JPA Development/Extensible Entities"

m
m
Line 17: Line 17:
  
 
You can make entities extensible so that at runtime a set of additional extended mappings can be used.  
 
You can make entities extensible so that at runtime a set of additional extended mappings can be used.  
 +
 +
==Overview==
 +
* Start with a persistence unit containing entity types that are configured to support extensions
 +
* Add mappings to the entities in that persistence unit.
 +
 +
The persistence unit does not have to be redeployed. The extended entities will read and write the extended values when set and will allow the application to execute queries involving these properties in the criteria.
  
 
{{EclipseLink_JPA
 
{{EclipseLink_JPA
 
|up=      [[EclipseLink/UserGuide/JPA/Advanced_JPA_Development|Advanced JPA Development]]
 
|up=      [[EclipseLink/UserGuide/JPA/Advanced_JPA_Development|Advanced JPA Development]]
 
}}
 
}}

Revision as of 09:41, 20 June 2011


Eclipselink-logo.gif
EclipseLink
Website
Download
Community
Mailing ListForumsIRCmattermost
Issues
OpenHelp WantedBug Day
Contribute
Browse Source

Elug api package icon.png Key API

Elug example icon.png Examples


Extensible Entities

This feature is new in EclipseLink 2.3.

This page is under development.

You can make entities extensible so that at runtime a set of additional extended mappings can be used.

Overview

  • Start with a persistence unit containing entity types that are configured to support extensions
  • Add mappings to the entities in that persistence unit.

The persistence unit does not have to be redeployed. The extended entities will read and write the extended values when set and will allow the application to execute queries involving these properties in the criteria.

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

Back to the top