Thank you, yes, you're right to play a little, I found that if I did not explicitly specify a default column for elt.
<bag name="equipment" table="tb_room_equipment" lazy="false"> <key column="roomID"/> <many-to-many class="Equipment" column="equipmentID"/> </bag>
Like here, I now called columnID; If I do not, it will be called elt.
user17510
source share