Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352378 - All upper-case property names generate "not found in class" warnings
Summary: All upper-case property names generate "not found in class" warnings
Status: NEW
Alias: None
Product: EMFT
Classification: Modeling
Component: Texo (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Martin Taal CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-18 14:17 EDT by Mike Cooper CLA
Modified: 2011-07-18 14:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Cooper CLA 2011-07-18 14:17:52 EDT
Each attribute in a .ecore which is all upper-case will result in the following run-time warning:

org.hibernate.cfg.annotations.reflection.JPAOverridenAnnotationReader
checkForOrphanProperties
WARNING: Property vortex.model.SystemInfo.sIM not found in class but
described in <mapping-file/> (possible typo error) 

In this example "SIM" is the attribute in the .ecore file.

Manually editing orm.xml to change "sIM" to "SIM" fixes the problem.