Surely things ought to be heading towards better (some?) support for 
many-to-many relationships and link classes.  I would have thought link classes 
should be implicitly generated on many-to-many relationships, but ought to 
support being explicitly modelled too (for when the relationship has it's own 
attributes).



(Apologies if it's obvious that I'm writing without doing any research to see 
what's already supported / been talked about.  I'm supposed to be doing my real 
work!)



But anyway, we shouldn't lose sight of the fact that the original question 
hasn't been entirely answered:

"I'd like to have classBId available in class A. In case I need to create 
ValueObject with FK - right now I have to use a.getB.getID which causes two DB 
queries..."



Can't the two queries be prevent by turning off lazy loading?   (I'm all 
high-level theory, me.)



Mike.
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1391#1391
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to