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

Bug 362598

Summary: generated canonical metamodel classes all have validation warning
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JPAAssignee: Karen Butzke <karenfbutzke>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jolene.moffitt
Version: 3.1   
Target Milestone: 3.1 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Karen Butzke CLA 2011-11-01 16:16:51 EDT
Set up a canonical metamodel source folder in the JPA project properties of a JPA 2.0 project. All of the generated canonical metamodel classes end up with a validation warning like the following:

Class "Employee_" is annotated, but is not included in any persistence unit
Comment 1 Karen Butzke CLA 2011-11-01 17:13:12 EDT
fixed in head
Comment 2 Jolene Moffitt CLA 2011-11-02 10:32:14 EDT
Verified in Build I-3.4.0-2011102024120 

Verified when you generate canonical metamodel the validation warning does not appear. See the link to view test steps for verification.
http://wiki.eclipse.org/Dali_3.1_M3