EclipseLink/UserGuide/JPA/Advanced JPA Development/Extensible Entities

From Eclipsepedia

Jump to: navigation, search


link="http://wiki.eclipse.org/EclipseLink"
EclipseLink
Website
Download
Community
Mailing ListForumsIRC
Bugzilla
Open
Help Wanted
Bug Day
Contribute
Browse Source

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