It's in there, but we haven't a successful build from cruise control since yesterday (I think there have been CVS issues), therefore I don't think you have the fix yet (unless anonymous CVS has caught up and you're using that). You don't need to specify the @andromda.hibernate.inheritance. Also it should not be a numeric value if you did, it should be "class", "interface", "subclass" or "concrete" if you did specify it. The default refers to "class".
Chad -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jan Heise Sent: Monday, January 24, 2005 3:22 PM To: Chad Brandon Cc: 'andromda_users' Subject: Re: [Andromda-user] Spring Cartridge, Hibernate & Inheritance I made a clean build of andromda and of my project but everything looks unchanged. still three .hbm.xml files & only one referenced in applicationContext.xml is @andromda.hibernate.inheritance=1 and the description on http://team.andromda.org/docs/andromda-hibernate-cartridge/ modeling.html really correct? because the model in animal-quiz & the result seem not to match the description. it looks more like option 1 should be option 2. What should be the expected result from your fix? Jan Am 24.01.2005 um 21:32 schrieb Chad Brandon: > Ok this is fixed in CVS. > > -----Original Message----- > From: Jan Heise [mailto:[EMAIL PROTECTED] > Sent: Monday, January 24, 2005 11:23 AM > To: Chad Brandon > Cc: andromda_users > Subject: Re: [Andromda-user] Spring Cartridge, Hibernate & Inheritance > > 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 ------------------------------------------------------- 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
