Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347179 - [EclipseLink] [Validation] ID mapping in embeddable validation not appearing in EclipseLink platform
Summary: [EclipseLink] [Validation] ID mapping in embeddable validation not appearing ...
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.4 M2   Edit
Assignee: Nan Li CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-25 11:27 EDT by Nan Li CLA
Modified: 2013-09-12 16:46 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nan Li CLA 2011-05-25 11:27:43 EDT
Build Identifier: I20110519-1138

Based on the spec. and EclipseLink wiki, the Embeddable annotation/element is used to specify a class whose instances are stored as an intrinsic part of an owning entity and share the identity of the entity and each of the persistent properties or fields of the embedded object is mapped to the database table for the entity; therefore, an embeddable should not have its own identity meaning id mapping should not be used for an embeddable. Currently, there's no error reported if defining id mapping for embeddables with EclipseLink platform.

Reproducible: Always
Comment 1 Neil Hauge CLA 2011-05-31 14:49:10 EDT
To clarify, this validation exists for Generic platform but isn't appearing for the EclipseLink platform.
Comment 2 Neil Hauge CLA 2011-07-01 16:24:27 EDT
Moving JPA specific bugs to new JPA component in bugzilla.
Comment 3 Nan Li CLA 2013-09-12 16:46:15 EDT
tests run and patch committed to the master branch