Hello,
In debug mod of the server I found a bug during the "saveOrUpdate" of an object Ventilation. The printed trace is "id unsaved-value strategy UNDEFINED". I manage to saveOrUpdate others objects but the mapping of their id was simple.
I thing that the problem com from the mapping of the id of Ventilation.
======================
Mon fichier de mapping:
--------------------------
Code:
<class
name="Ventilation"
table="BUDGET_CLIENT"
>
<composite-id name="id" class="VentilationPK">
<key-many-to-one
name="versionLigneBudgetaire"
class="VersionLigneBudgetaire"
column="ID_BUDGET_NATURE_VERSION"
/>
<key-many-to-one
name="client"
class="com.adeo.sibud.metier.referentiel.Client"
column="ID_CLIENT"
/>
</composite-id>
<!--.................-->
</class>
========================
Ma Class Ventilation:
----------------------
Code:
public class Ventilation impléments Serializable {
// primary key
private VentilationPK id;
//............
}
NB : VersionLigneBudgetaire own a set of Ventilation.
Thanks to help me.
Albéric.