[ 
http://team.andromda.org:8080/jira/browse/HIB-31?page=comments#action_10590 ]
     
Martin Vlcek commented on HIB-31:
---------------------------------

Yes, that should be generated and it works, if all super classes are concrete.
However, if the super class is interface, than the discriminator column xdoclet 
tags are also generated.
It seems that in the case of root inheritance "interface" the current 
inheritance tag is not taken into account 
(HibernateEntityLogicImpl.validateInterfaceInheritance: rootSubclassIndex = 
superclasses.length - 2; if null then return "class"; and in 
handleGetInheritanceStrategy() the strategy is thus set and 
getInheritance(this) not used) 

> Interface/Concrete inheritance hierarchy not possible?
> ------------------------------------------------------
>
>          Key: HIB-31
>          URL: http://team.andromda.org:8080/jira/browse/HIB-31
>      Project: Hibernate Cartridge
>         Type: Bug
>     Versions: 3.0M3
>     Reporter: Martin Vlcek
>     Assignee: Martin West

>
>
> If the root class is specified as @andromda.hibernate.inheritance=interface, 
> it should be possible to have the subclasses specified as 
> @andromda.hibernate.inheritance=concrete.
> However, it seems that the template always gets "class" as $thisInheritance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://team.andromda.org:8080/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to