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

Bug 339434

Summary: CCE adding a java entity to a mapping file
Product: [WebTools] Dali JPA Tools Reporter: Nan Li <nan.n.li>
Component: GeneralAssignee: Karen Butzke <karenfbutzke>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jolene.moffitt, pascal.filion
Version: unspecified   
Target Milestone: 3.0 M6   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Stack Trace
none
proposed patch against head none

Description Nan Li CLA 2011-03-09 16:39:40 EST
Build Identifier: I-3.3.0-20110305235707

If adding a java entity which has a secondary table defined to a mapping file, the attached CCE will be thrown and the JPA Details will be not available for the entity.

Reproducible: Always

Steps to Reproduce:
1. Define a java entity with secondary table specified
2. Create a mapping file and add the same class to the it
3. Save the mapping file
Comment 1 Nan Li CLA 2011-03-09 16:41:02 EST
Created attachment 190798 [details]
Stack Trace

CCE Stack Trace
Comment 2 Karen Butzke CLA 2011-03-09 17:10:23 EST
Created attachment 190803 [details]
proposed patch against head
Comment 3 Karen Butzke CLA 2011-03-09 17:11:28 EST
fixed for M6 since it was an easy low-risk fix for a bad bug
Comment 4 Pascal Filion CLA 2011-03-29 11:50:02 EDT
Verified in Build I-3.3.0-20110324075937

Verified you can add an entity to a mapping files that has a secondary table defined without errors.  See the link to view test steps for verification. 
http://wiki.eclipse.org/Dali_3.0_M6