title: JPA, get data from @ManyToMany relation generated table
body: <p>I have classes:</p>
  
  <pre><code>@Entity
  public class User {
      @ManyToMany
      public List&lt;Role&gt; roles = new LinkedList&lt;&gt;();
  }
  @Entity
  public class Role {
  }
  </code></pre>
  
  <p>Jpa/Hibernate generated three tables for those classes:</p>
  
  <ul>
  <li>User (id)</li>
  <li>Role (id)</li>
  <li>User_Role (user_id, role_id)</li>
  </ul>
  
  <p>Now I would like to get list of user with concrete role f.e.: role_id = 4</p>
  
  <p>How Can I achive this? There is no Entity like User_Role, so I would ask for data?</p>