We are trying to us <join> in order to map a different table using a foreign key. The current table shouldn't be joined using the "Id" column but with a different property so we used 'property-ref'. For some reason nhibernate ignores property-ref and always sets the "Id" property instead. We saw this issue is known but was supposed to be fixed all ready. Here is the hbm file:
We are trying to us
<join>
in order to map a different table using a foreign key.The current table shouldn't be joined using the "Id" column but with a different property so we used 'property-ref'.
For some reason nhibernate ignores property-ref and always sets the "Id" property instead.
We saw this issue is known but was supposed to be fixed all ready.
Here is the hbm file: