Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369940 - [EclipseLink] dynamic persistence validation for parent-class attribute
Summary: [EclipseLink] dynamic persistence validation for parent-class attribute
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.2 M6   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard: EclipseLink
Keywords: plan
Depends on:
Blocks: 309475
  Show dependency tree
 
Reported: 2012-01-27 10:20 EST by Karen Butzke CLA
Modified: 2012-03-22 09:04 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 Karen Butzke CLA 2012-01-27 10:20:42 EST
EclipseLink dynamic persistence uses the parent-class attribute on entity, mapped-superclass, and embeddable in the eclipselink-orm.xml, to define inheritance. We need to validate that there is a persistent type defined with that name if the parent-class is specified. We could also have xml code completion for this attribute. The package element is also used in conjunction with parent-class.

Can parent-class be set to a non-dynamic type? I'm not sure how fully EclipseLink supports this case.
Comment 1 Karen Butzke CLA 2012-03-05 10:17:12 EST
Added validation to eclipselink ORM entity, embeddable, and mapped-superclass for parent-class: 
Parent class <class name> does not exist

Dali allows the parent-class to be dynamic or static.