title: Hibernate Annotation Join table question
body: <p>When doing join table with hibernate annotation, how to i add an extra column that's not a join column, like, say married as a weak entity? like an extra column?</p>
  
  <pre><code>@ManyToMany(targetEntity=some.class,
          cascade ={CascadeType.PERSIST, CascadeType.MERGE}, fetch=FetchType.EAGER)
  @JoinTable(name = "RELATION", joinColumns ={
          @JoinColumn(name = "HID", unique = true)
      }, inverseJoinColumns = {
          @JoinColumn(name = "FID")
  })
  Set&lt;PERSON&gt; PEOPLE = new HashSet&lt;PERSON&gt;(); 
  </code></pre>