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>