Hi All I have Some questions can any one answer please

1
  1. why association between persistent and non persistent entity should be start from non persistent entity? 2. Explain about self association with example? 3.What is the difference between Generalization and One to One Association ?     Please any one explain i go through the documentation but i did not get  thanks in advance    
asked
1 answers
9
  • If a non-persistable entity is non-owner, when we retrieve from persistable entity through association, the object could not be retrieved as it is not a DB table.  This is the reason for restricting the association starts from persistable to non-persistable entity.
  • Self association is the association to the same entity. Eg., entity name: family members. Self association in son_father. Here A will be a father of B where both A and B object present in same entity https://docs.mendix.com/refguide/query-over/ 
  • Generalization will maintain the attributes in a single table whereas 1-1 association maintain different tables and id mapping table. Ref: https://docs.mendix.com/refguide/generalization-and-association/ 
answered