I solved the problem using a composite-element instead of a mapped entity.
The old mapping:
Code:
<list name="centroids" table="CENTROIDS" cascade="all-delete-orphan">
<key column="ID_PATTERN"></key>
<index column="POSITION" />
<one-to-many class="Serie"/>
</list>
The new mapping:
Code:
<list name="centroids" table="CENTROIDS" cascade="all-delete-orphan">
<key column="ID_PATTERN"></key>
<index column="POSITION" />
<composite-element class="Serie">
<property name="SH00_00" type="float" />
<property name="SH01_00" type="float" />
<property name="SH02_00" type="float" />
<property name="SH03_00" type="float" />
</composite-element>
</list>
Thanks!!