title: Am I need to use @Access=FIELD annotation with many-to-one relationship?
body: <p>I have entities which are divided into categories. Each entity can belong to many categories, so I have one to many association.</p>
  
  <p>Is it ORM-ed correctly below:</p>
  
  <pre><code>@OneToMany
  @Access(AccessType.FIELD)
  private Set&lt;Category&gt; parents = new HashSet&lt;Category&gt;();
  public Set&lt;Category&gt; getParents() {
      return parents;
  }
  public boolean addParent(Category parent) {
      return parents.add(parent);
  }
  public boolean removeParent(Category parent) {
      return parents.remove(parent);
  }
  </code></pre>
  
  <p>My specific question is am I need to use @Access annotation or not? If I won't use it then how Hibernate will know not to map <code>getParents</code> getter?</p>