|Attribute.isAssociation in metamodel API returns false for relationship mappings [message #548476]
||Thu, 22 July 2010 04:32
| Roger Suen
Registered: May 2010
I found in the eclipselink metamodel API, the method Attribute.isAssociation always returns false for those attributes of relationship mappings. For example, in an Employee and Department example, the entity type Employee has an attribute named "department" which is defined to be a many-to-one mapping. The method Attribute.isAssociation for the department attribute returns false.
So I wonder what exactly "association" means here in the metamodel API. I thought it means relationship mapping.
Thanks for any help
BTW: I'm working with EclipseLink 2.0.2
[Updated on: Thu, 22 July 2010 04:34]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02848 seconds