title: Map a list of strings with JPA/Hibernate annotations
body: <p>I want to do something like this:</p>
  
  <pre><code>    @Entity public class Bar {
          @Id @GeneratedValue long id;
          List&lt;String&gt; Foos
      }
  </code></pre>
  
  <p>and have the Foos persist in a table like this:</p>
  
  <pre><code>foo_bars (
      bar_id int, 
      foo varchar(64)
  );
  </code></pre>
  
  <p>UPDATE:</p>
  
  <p>I know how to map other entities, but it's overkill in many cases. It looks like what I'm suggesting isn't possible without creating yet another entity or ending up with everything in some blob column.</p>