Community
Participate
Working Groups
All JPA metadata errors should include the Class/Entity the error is related to (also the attribute). Caused By: Exception [EclipseLink-7333] (Eclipse Persistence Services - 2.2.0.qualifier): org.eclipse.persistence.exceptions.ValidationException Exception Description: The reference column name [f_name] mapped on the element [field majorGeneral] does correspond to a valid field on the mapping reference. For descriptors we throw a DescriptorException that contains the descriptor and mapping, perhaps we should be throwing a MetadataException that has similar info, at a minimum the class needs to be passed as an argument to the exception message.
>I agree, we need to print out the attribute as well - see Metamodel specific ehr bug # 326317
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink