Hi, all, a few weeks ago, I changed the Hibernate cartridge in AndroMDA 3.0 (CVS HEAD) to make true inheritance and polymorphic mapping possible. Using @hibernate.subclass, this works OK now. However, if two classes B and C both extend the same class A, all fields of B *and* C are mapped into the table of A. In the database, there is only *one* table called HIB_A.
Now I really want three tables, one for each class. And I want the fields of A mapped into B and C. I have asked this on the Hibernate mailing list and they responded that I should use <joined-subclass/>. OK, so I changed the template HibernateEntity.vsl to use "@hibernate.joined-subclass". This was the beginning of desaster. :-) Now it does not work any more: I still get only one table but *without* the fields of B and C. Questions: * Did anybody test this? * Does anybody know what I am missing? * Or is there a bug in XDoclet? Puzzled... Matthias --- Matthias Bohlen "Consulting that helps project teams to succeed..." http://www.mbohlen.de/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
