Hello,
when i try to add a row to the table 'X_VILLE', the following exception is thrown :
Could not compile the mapping document : BusinessObjects.Param.Ville.hbm.xml
<!--Ville.hbm.xml-->
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="BusinessObjects.Param">
<class name="BusinessObjects.Param.Ville, Tawory.Erp.BusinessObjects" table="X_VILLE">
<composite-id name="compId" class="VilleId" >
<key-property name="ville" column="viVille" type="String"/>
<key-property name="paysProperty" column="vi_pyPays" type="String"/>
<!--
<key-many-to-one name="pays" class="BusinessObjects.GCom.Pays, BusinessObjects" column="vi_pyPays"/>
-->
</composite-id>
<property name="designation" column="viDesignation" type="String"/>
<property name="fuseauHoraire" column="viFuseauHoraire"/>
<many-to-one name="pays" class="BusinessObjects.GCom.Pays, BusinessObjects" column="vi_pyPays"/>
</class>
</hibernate-mapping>
|