Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Attribute.isAssociation in metamodel API returns false for relationship mappings
Attribute.isAssociation in metamodel API returns false for relationship mappings [message #548476] Thu, 22 July 2010 00:32 Go to previous message
Roger Suen is currently offline Roger Suen
Messages: 4
Registered: May 2010
Junior Member
Hi there,

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 00:34]

Report message to a moderator

 
Read Message
Read Message
Previous Topic:Existing managed object being inserted
Next Topic:Merge resets new data
Goto Forum:
  


Current Time: Thu May 23 16:16:34 EDT 2013

Powered by FUDForum. Page generated in 0.01634 seconds