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

Bug 358553

Summary: JPA errors are overridden by Eclipse warnings
Product: [WebTools] Dali JPA Tools Reporter: Dmitry Geraskov <geraskov>
Component: GeneralAssignee: Neil Hauge <neil.hauge>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: karenfbutzke, neil.hauge, paul.fullbright
Version: unspecified   
Target Milestone: 3.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dmitry Geraskov CLA 2011-09-22 05:37:40 EDT
Build Identifier: I20110613-1736

There is error in Problems view 
Class "xx.Message" is mapped, but is not included in any persistence unit
But in source we see warning marker near class name instead of error marker which says:
"The serializable class Message does not declare a static final serialVersionUID field of type long"


Reproducible: Always

Steps to Reproduce:
1. Create entity "Message implements java.io.Serializable" in package xx
2. Do not add serialVersionUID field
3. Do not add it to persistence.xml
Comment 1 Paul Fullbright CLA 2011-09-22 09:34:19 EDT
What exactly is the problem here?  Is it that you are expecting a red "squiggly" to match the JPA error, but not seeing it?
Comment 2 Dmitry Geraskov CLA 2011-09-22 09:54:57 EDT
I expect red icon on the left as error has bigger severity than warning.
Comment 3 Karen Butzke CLA 2011-11-02 09:00:08 EDT
closing this as a duplicate of a JDT bug

*** This bug has been marked as a duplicate of bug 348850 ***