Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339562 - Warning for the extra persistence-unit-metadata does not show up in the sources
Summary: Warning for the extra persistence-unit-metadata does not show up in the sources
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.1 M1   Edit
Assignee: Nan Li CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 12:51 EST by Nan Li CLA
Modified: 2011-11-01 18:21 EDT (History)
2 users (show)

See Also:
neil.hauge: review+


Attachments
Proposed Patch (53.05 KB, patch)
2011-04-12 13:33 EDT, Nan Li CLA
no flags Details | Diff
Proposed Patch (4.68 KB, patch)
2011-04-26 10:10 EDT, Nan Li CLA
no flags Details | Diff
Proposed Patch (1.66 KB, patch)
2011-06-08 14:19 EDT, Nan Li CLA
no flags Details | Diff
Proposed Patch (2.17 KB, patch)
2011-06-08 17:19 EDT, Nan Li CLA
neil.hauge: iplog+
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-10 12:51:09 EST
Build Identifier: I-3.3.0-20110305235707

A warning is given in the Eclipse Problems view when the persistence-unit-metadata element occurs in multiple mapping files within the same persistence unit; however, the warning is not showing up in sources anywhere so it's hard to know the problem and go to where the problem exactly exists.

Reproducible: Always
Comment 1 Nan Li CLA 2011-04-12 13:33:47 EDT
Created attachment 193078 [details]
Proposed Patch

There are many changes in the jpa_validation.properties file with this patch; however, there is only one entry (MAPPING_FILE_EXTRANEOUS_PERSISTENCE_UNIT_METADATA) changed comparing to the jpa_validation.properties in the proposed patch of bug 335741.
Comment 2 Nan Li CLA 2011-04-26 10:10:52 EDT
Created attachment 194055 [details]
Proposed Patch

Merged the changes of messages to the patch of bug 335741
Comment 3 Nan Li CLA 2011-06-08 14:19:19 EDT
Created attachment 197627 [details]
Proposed Patch
Comment 4 Nan Li CLA 2011-06-08 17:19:29 EDT
Created attachment 197648 [details]
Proposed Patch
Comment 5 Neil Hauge CLA 2011-07-01 16:23:41 EDT
Moving JPA specific bugs to new JPA component in bugzilla.
Comment 6 Neil Hauge CLA 2011-07-05 16:58:10 EDT
Patch applied to head.
Comment 7 Neil Hauge CLA 2011-07-05 17:03:13 EDT
.
Comment 8 Jolene Moffitt CLA 2011-09-22 11:21:13 EDT
Verified in Build I-3.4.0-20110915092301 

Verified if you click on the warning it takes you to the source of the warning. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.1_M1