Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358553 - JPA errors are overridden by Eclipse warnings
Summary: JPA errors are overridden by Eclipse warnings
Status: CLOSED DUPLICATE of bug 348850
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-22 05:37 EDT by Dmitry Geraskov CLA
Modified: 2011-11-02 09:00 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***