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

Ing. Arturo Frappé Muñoz afrappe at acm.org
Wed Feb 18 15:01:02 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>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-dev/attachments/20090218/7452c142/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ejb3TypeDeclaration.ftl
Type: application/octet-stream
Size: 2207 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/hibernate-dev/attachments/20090218/7452c142/attachment.obj 


More information about the hibernate-dev mailing list