[ http://jira.andromda.org/browse/HIB-201?page=comments#action_15680 ] 

mazas simon commented on HIB-201:
---------------------------------

On andromda 3.3, when the root class is abstract the 'abstract=true' attribute 
in the 'class' element is missing and the 'table' attribute should be removed, 
as shown below :

--> generated hbm.xml :
<class name="com.test.data.domain.ComponentImpl" table="COMPONENT" 
dynamic-insert="false" dynamic-update="false">
    ...
</class>

--> shoulb be :
<class name="com.test.data.domain.ComponentImpl" abstract="true" 
dynamic-insert="false" dynamic-update="false">
    ...
</class>

> Incorrect implementation of table per concrete class inheritance strategy for 
> union-subclass mapping with abstract base class.
> ------------------------------------------------------------------------------------------------------------------------------
>
>          Key: HIB-201
>          URL: http://jira.andromda.org/browse/HIB-201
>      Project: Hibernate Cartridge
>         Type: Bug

>     Reporter: Luca De Petrillo
>     Assignee: Carlos Cuenca

>
> The cartridge should set "abstract=true" in the <class> tag of the hbm when 
> the base class of a hierarchy mapped as "union-subclass" is abstract.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Reply via email to