Hi,
I have a hibernate mapping where I am creating a join table using the <bag> tags. How do I ensure uniqueness of the combination of keys that go into the join table ?
Sample here:
<bag name="PersonStuffs" table="person_x_stuff" cascade="none" >
   <key column="person_id" not-null="true" />
   <many-to-many class="com.sample.Person" column="stuff_id" />  
</bag>