Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369940

Summary: [EclipseLink] dynamic persistence validation for parent-class attribute
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JPAAssignee: Karen Butzke <karenfbutzke>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: neil.hauge
Version: 3.1Keywords: plan
Target Milestone: 3.2 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard: EclipseLink
Bug Depends on:    
Bug Blocks: 309475    

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.