Yes it only needs to be set on the root class (you can mix concrete and
inheritance strategies with subclass and class but can not mix subclass and
class).   Anyway it looks like something strange is going on in your
environment since hibernateInheritanceSubclass exists on the HibernateEntity
metafacade.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Guillaume
Lederrey
Sent: Wednesday, March 02, 2005 7:59 AM
To: andromda-user@lists.sourceforge.net
Subject: Re: [Andromda-user] Problem with inheritance / Hibernate

  Continuing with the same problem :

  If I change inheritance strategy to "subclass", I get the following error
:

Root Exception .: 
org.andromda.translation.validation.OCLIntrospectorException:
No property named 'hibernateInheritanceSubclass', found on element 
'org.andromda
.metafacades.uml14.ClassifierFacadeLogicImpl[DMADrugListResult]'
org.andromda.translation.validation.OCLIntrospectorException: No property 
named
'hibernateInheritanceSubclass', found on element 
'org.andromda.metafacades.uml14
.ClassifierFacadeLogicImpl[DMADrugListResult]'


Not that the class hierarchy is as follow :

DMAResult
    <-- DMAStringResult
    <-- DMAFloatResult
    <-- DMAListResult
            <-- DMADrugListResult


  If I understand the documentation correctly, the inheritance strategy
should 
be set only on the root class (DMAResult). Am I wrong ?

 Guillaume
-- 


Guillaume Lederrey
Informaticien Développement
Tecost - Technology Consulting Studies
Fribourg (Switzerland)
http://www.tecost.ch/


-------------------------------------------------------
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://ads.osdn.com/?ad_ide95&alloc_id396&op=ick
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user




-------------------------------------------------------
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://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to