Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339434 - CCE adding a java entity to a mapping file
Summary: CCE adding a java entity to a mapping file
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.0 M6   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-09 16:39 EST by Nan Li CLA
Modified: 2011-03-29 11:51 EDT (History)
2 users (show)

See Also:


Attachments
Stack Trace (10.90 KB, text/plain)
2011-03-09 16:41 EST, Nan Li CLA
no flags Details
proposed patch against head (1.42 KB, patch)
2011-03-09 17:10 EST, 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 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