title: JPA @ElementCollection List specify join column name
body: <p>I have the following entity:</p>
  
  <pre><code>@Entity
  public class Shirt implements Serializable {
  
      @Id
      @Size(max=9)
      private String id;
  
      @ElementCollection
      @CollectionTable(name="SHIRT_COLORS")
      @Column(name="color")
      private List&lt;String&gt; colors = new ArrayList&lt;String&gt;();
      ...
  </code></pre>
  
  <p>The collections table created when I set hibernate to autocreate is</p>
  
  <pre><code>SHIRT_COLORS
   shirt_id
   color
  </code></pre>
  
  <p>How do I annotate my Entity so that the join column isn't a concatenation of the entity and pk so that the the table created is:</p>
  
  <pre><code>SHIRT_COLORS
   id
   color
  </code></pre>
  
  <p>I've tried @JoinColumn but that didn't work.  In actuality, the SHIRT_COLORS table in production is managed outside of the app and the column names are already defined.</p>