Hi All;


I have two hibernate entities, A & B. A is parent and B is child of a 
generalization (i.e., B inhert from A). In the generated SQL scripts I get two 
tables one for A and one for B, but there is no reference to A in the B table 
(or B in the A table for that matter). I had to use an aggregation association 
between A & B to get a reference to A in the B table.



Why is that? If the transformation from modeling to DB schema is correct, why? 
What is the rational here from a correct Object and DB modeling perspective?



Regards



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


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to