title: @ManyToMany annotated list of strings? Is it ever possible?
body: <p>I have users and each user has several roles. Roles and users are in many-to-many relationship. But the role is just a name. I've got stuck in this phase:</p>
  
  <pre><code>@ManyToMany
  @JoinTable(name="users2roles")
  private Collection&lt;String&gt; roles;
  </code></pre>
  
  <p>There is missing the name of target table. I was searching on Internet, but nothing have found. I don't wannt to create special entity class to wrap one string value. Is there some another way, isn't?</p>
  
  <p>Is there any way to make it work or makes JPA me create a new entity?</p>