j'ai la relation many-to-one suivante :
qui se trouve dans le fichier applicant.hbm.xml
Code : Sélectionner tout - Visualiser dans une fenêtre à part <many-to-one name="jobTitle" column="jT_ID" class="be.qspin.qats.entities.JobTitle" cascade="none" not-null="false"/>
l'attribut name="jobTitle" correspond au nom de l'attribut qui sera dans la classe applicant?
Quant à l'attribut column="jT_ID" correspond au nom de la colonne dans la table applicant?
j'ai tous bon ou bien je me trompe?
Partager