Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348009 - Secondary tables defined on Java entity not shown correctly when being added to mapping xml
Summary: Secondary tables defined on Java entity not shown correctly when being added ...
Status: VERIFIED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.3   Edit
Assignee: Nan Li CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-01 16:12 EDT by Nan Li CLA
Modified: 2012-10-16 11:07 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nan Li CLA 2011-06-01 16:12:41 EDT
Build Identifier: I20110525-0800

1. Define more than one secondary tables for a Java entity
2. Create a mapping file and add the Java entity to it
3. Go to entity -> Secondary Tables and then select "Define in XML"

You'll see only the first secondary table defined on the Java entity shown in the list of the secondary tables. Changing the focus area and then coming back to the list, you'll see the the first secondary table shown twice in the list along with the rest of the secondary tables defined. IndexOutOfBoundsException will be thrown if selecting the duplicate one.

Reproducible: Always
Comment 1 Neil Hauge CLA 2011-06-02 12:50:39 EDT
This should be fixed along with bug 347993 as they are possibly related.
Comment 2 Neil Hauge CLA 2011-07-01 16:27:01 EDT
Moving JPA specific bugs to new JPA component in bugzilla.
Comment 3 Neil Hauge CLA 2011-10-07 12:52:23 EDT
Targeting to Juno release.
Comment 4 Nan Li CLA 2012-05-25 17:03:35 EDT
Note -> I am not able to reproduce this problem in 3.2 RC2 candidate.
Comment 5 Nan Li CLA 2012-07-13 11:57:07 EDT
I am not able to reproduce this problem with the Juno release. Neil, do you think I can close this bug?
Comment 6 Neil Hauge CLA 2012-07-13 12:24:06 EDT
Yes...especially since you were able to reproduce it in the past.  Go ahead and mark it as fixed in 3.2.

Neil
Comment 7 Nan Li CLA 2012-07-13 12:29:09 EDT
fixed in 3.2
Comment 8 Jolene Moffitt CLA 2012-10-16 11:07:37 EDT
Verified in build I-3.5.0-20121003040013 that when you add secondary tables to an entity and add that entity to a mapping file they appear correctly when you select Define in XML checkbox.  To view steps to verify this issue go to http://wiki.eclipse.org/Dali_3.3_Release