Ops! are we talking about association (aggregation probably) or generalization ? As I see inheritance mapping isn't related with associations' mappings.
--------------------------------------------------------------------------- Walter Itamar Mourão - Diretor de Tecnologia e Projetos - Arcadian S/A www.arcadian.com.br "Luciana Nunes Leal" <[EMAIL PROTECTED]> writes: >According to [ >http://www.hibernate.org/hib_docs/reference/en/html/inheritance.html >]http://www.hibernate.org/hib_docs/reference/en/html/inheritance.html, >"Hibernate supports the three basic inheritance mapping strategies: >- table per class hierarchy >- table per subclass >- table per concrete class" > >I think that Milene wants to use the second strategy. >It sounds that hbm.xml files were generated correctly but the ddl script >wasn´t. > >Luciana. > > > > >---------------------------------------------------------------------------De: >[EMAIL PROTECTED] em nome de Walter Mourão >Enviada: seg 29/11/2004 09:45 >Para: Milene Fiorio >Cc: [EMAIL PROTECTED] >Assunto: Re: [Andromda-user] Creating master detail hibernate files > > > > >Hi Milene, >really this behavior is correct. You only need the additional table when >the association is many to many. > > >Regards, > >--------------------------------------------------------------------------- >Walter Itamar Mourão - Diretor de Tecnologia e Projetos - Arcadian S/A >www.arcadian.com.br > >Milene Fiorio <[EMAIL PROTECTED]> writes: >> >> >> >> >>Hi guys, >> >>I have a problem. i´m trying to generate hibernate files (.java and .hbm) >>and database scripts for oracle database, using a master detail model. >>Andromda 3.0 is generating correctly the .hbm and .java files, but the >>ddl file is missing the detail table, and it´s putting the detail fields >>inside the master table. >>have anybody had this problem? How can I solve this problem? >> >>thank´s a lot! >> >>Milene >> ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user