Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354444 - Invalid ORM ElementCollection target-class validation with package element
Summary: Invalid ORM ElementCollection target-class validation with package element
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0.1   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard: fix_ready
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-10 17:49 EDT by Karen Butzke CLA
Modified: 2011-09-09 14:29 EDT (History)
2 users (show)

See Also:
neil.hauge: review+


Attachments
example project (7.70 KB, application/x-sdlc)
2011-08-10 17:49 EDT, Karen Butzke CLA
no flags Details
proposed patch against 3.0 maintenance (2.16 KB, patch)
2011-08-23 20:40 EDT, Karen Butzke CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Karen Butzke CLA 2011-08-10 17:49:23 EDT
Created attachment 201283 [details]
example project

Validate the attached example project and notice the "Target class does not exist on the project classpath" validation error given on the orm.xml PropertyRecord.parcels attribute mapping. This validation message is incorrect because the package element is not being used to fully qualify the target class.
Comment 1 Karen Butzke CLA 2011-08-23 20:40:51 EDT
Created attachment 202043 [details]
proposed patch against 3.0 maintenance
Comment 2 Karen Butzke CLA 2011-08-24 10:21:24 EDT
checked in to maintenance
Comment 3 Karen Butzke CLA 2011-08-25 16:30:16 EDT
fixed in HEAD
Comment 4 Jolene Moffitt CLA 2011-09-09 14:29:18 EDT
Verified in Maintenance Build M-3.3.1-20110906011014 

Verified when you import and validate the project the Target Class validation error does not appear.  See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0.1