Well, I'm also investigating right now and perhaps it's my fault again. The original Animal-Quiz has xdoclet tags in the Impl-classes. Is Xdoclet still used? I can't remember the actual status. Anyway, I looked into my created model and found @andromda.hibernate.inheritance = 1 on all classes. The docs speak of "2" as the default strategy. But with "1" everything should be created correctly?
Jan
Am 24.01.2005 um 19:13 schrieb Chad Brandon:
Yeah you're right...looks like its busted, I know it was working a few weeks
ago..I'll take a look.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jan Heise
Sent: Monday, January 24, 2005 10:50 AM
To: andromda_users
Subject: [Andromda-user] Spring Cartridge, Hibernate & Inheritance
And now to more irritating stuff ;-)
I modeled DecisionItem, Animal and Question the same it's modeled for the Animal-Quiz sample.
The Hibernate mappings get created for all three classes but only the DecisionItem.hbm.xml is referenced in the generated config for Spring.
I think that could be a bug with inheritance&Spring&Hibernate. I did not tag DecisionItem with @andromda.hibernate.inheritance=1 yet, to get the same behaviour like the normal animal-quiz sample.
I think there could be a problem with the cartridge that it does not create the correct config-file with a hierarchy of classes and the default inheritance strategy.
Jan
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
