reflection wrote:
Code:
<set name="ASet1" table="Bclass" >
<key column="AColumn1"/>
<many-to-many column="BColumn1" class="Bclass">
</set>
Maybe something like that will work or does that need to have a foreign key between the two tables?
I'm not sure if that will work, as I'm not at a work computer right now, but my understanding was that
Code:
<set ... table="tablename">
represented the join table.. The table for the class the hbm is in, isn't really needed, as it's already in there in
Code:
<class ... table="tablename">
Anyways. I'll try it on Monday, and let you know how it goes.
Thanks :)