Hi,
I would like to get the O/R mappings for a class and was trying to do Configuration.getClassMappings() and then for each class I was trying to iterate the properties using RootClass.getPropertyIterator. However, the returned mappings don't include the key properties, it only includes properties other than the keys. Any way to get all mappings including the key properties?
e.g.
<class name="test.AumInvestmentvehicle" table="InvestmentVehicle">
<id column="InvestmentVehicleId" length="10" name="investmentvehicleid" type="string">
<generator class="assigned"/>
</id>
<property column="InvestmentVehicle" length="50" name="name" type="string"/>
</class>
it only returns the property of InvestmentVehicle but not the InvestmentVehicleId...
Thanks,
Gary