Community
Participate
Working Groups
Given a Collection attribute in java that is mapped as an element-collection in orm.xml a validation error is given incorrectly: "Map key class is not defined" This also means that a Map ElementCollection would *not* have this validation error if the map key class is not defined. private Collection<String> foo; <element-collection name="foo"> </element-collection> Workaround is to ignore this validation error in the JPA errors/warnings preferences.
Created attachment 201430 [details] proposed patch against 3.0 maintenance
checked in to maintenance and HEAD
Verified in Build I-3.4.0-20110822071621 Verified if you add a collection type attribute to the orm.xml mapping file the Map key error does not appear in the Problems pane as an error. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0.1