This thread seems a little bit old.. but I guest this post may help others.
I had a mapping like this:
Code:
<list name="dataViews" table="gp_rel_rprt_dtvw">
<key column="report_id" />
<list-index column="list_index" />
<many-to-many class="DataView" foreign-key="data_view_id" />
</list>
And this caused the
elt column to be created. After RTFM again I realized my mistake. I haven't specified the column that points to the class DataView (wrong attribute), so Hibernate was kind enough and provide a column 'elt' for me.
Then the code became:
Code:
<list name="dataViews" table="gp_rel_rprt_dtvw">
<key column="report_id" />
<list-index column="list_index" />
<many-to-many class="DataView" column="data_view_id" />
</list>
So I got my column data_view_id in place.
Hope it helps.