Hibernate version: 3.2
Mapping documents:
<composite-id name="Id">
<key-property
name="CodePromo"
column="code_promo"
type="string"
/>
<key-many-to-one
name="IdPromo"
class="Promotion"
column="idpromo"
property-ref="Nom"
/>
</composite-id>
Hello,
I'm trying to find the property-ref thanks the Cfg interface provided by Hibernate. So i take the : ClassMappings, ((Component) pc.getKey()).getPropertyIterator(), ((ManyToOne)(p.getValue()), (((ManyToOneType)(p.getType())). But I'm not able to acces the property-ref.
|