Hi,
I will like to know how to update value of a composite ID.
Here is an exemple of my code:
<composite-id name="etudiantSommairePeriodePK" class="EtudiantSommairePeriodePK"
unsaved-value="any">
<key-property
name="typeDossier"
column="TYPE_DOSSIER"
type="java.lang.String"
length="2"
/>
<key-property
name="dateDebutExemption"
column="DATE_DEBUT_EXEMPTION"
type="java.util.Date"
/>
<key-property
name="noSeqEtudiant"
type="java.lang.Integer"
column="NO_SEQ_ETUDIANT"
length="9"
/>
</composite-id>
I create a class for my composite ID EtudiantSommairePK but each time i try to modify one of this three values I have the following error:
13:57:04,659 ERROR DbHibernate:200 - net.sf.hibernate.UnresolvableObjectException: No row with the given identifier exists: com.macrocontact.app.model.db.persistence.EtudiantSommairePeriodePK@244e2739, of class: com.macrocontact.app.model.db.persistence.EtudiantSommairePeriode
can someone help me
Thx
Lud
|