[hibernate-dev] hibernate-tools jira HBX-577

Max Rydahl Andersen max.andersen at redhat.com
Fri Feb 20 02:48:44 EST 2009


> Hi,
>
> This is my proposal to solve JIRA issue HBX-577 "hbm2java for 
> annotation from existing inheritance mapping"
>
> I figured out how-to do   "joined-subclass" and 
> "table-per-class-herarchy" but  couldn't test it.
>
> This solution relies on <meta> tag,  example:
>
> <class name="Nota" mutable="false" table="NOTA"
>         schema="dbo" catalog="DATA" discriminator-value="not null">
> <meta  
> attribute="class-inheritance-type">single-table-per-class-herarchy</meta>
1) Please post patches in jira ;)

2) why is a meta attribute needed in meta when you can deduce it from 
the Configuration ?

/max



More information about the hibernate-dev mailing list