what is the meaning of hibernate inverseJoinColumns? : <p>I understand hibernate @JoinTable annotation, but I don't understand the inverseJoinColumns. What is it used for?</p>

<p>e.g.</p>

<pre><code> @ManyToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL)
 @JoinTable(name = "stock_category", catalog = "mkyongdb", joinColumns = {
        @JoinColumn(name = "STOCK_ID", nullable = false, updatable = false) },
        inverseJoinColumns = { @JoinColumn(name = "CATEGORY_ID",
                nullable = false, updatable = false) })

 public Set&lt;Category&gt; getCategories() {
    return this.categories;
}
</code></pre>
