<hibernate-mapping>
<class name="org.hibernate.tool.hbm2x.hbm2hbmxml.TypeParamsTest.Order" table="ORDERS">
<id name="orderId" type="long">
<column name="ORDERID"/>
<generator class="native"/>
</id>
<property generated="never" lazy="false" name="status">
<column name="STATUS"/>
<type name="org.hibernate.type.EnumType">
<param name="catalog"/>
<param name="column">STATUS</param>
<param name="table">ORDERS</param>
<param name="schema"/>
<param name="enumClass">org.hibernate.tool.hbm2x.hbm2hbmxml.Order$Status</param>
</type>
</property>
<property name="name" type="string"/>
</class>
</hibernate-mapping>