<class name="xxx" table="xxx">
<composite-id>
<key-property name="xx">
<column name="xx" sql-type="decimal" precision="4" scale="2" not-null="true"></column>
</key-property>
</composite-id>
</class>
<class name="xxx" table="xxx">
<composite-id>
<key-property name="xxx">
<column name="xxx" sql-type="nvarchar(300)"></column>
</key-property>
</composite-id>
</class>