title: Hibernate embeddable list
body: <p>I have two ready tables:</p>
  
  <pre><code>Table "One"
  id numeric (PK);
  name varchar(100); 
  
  Table "Two"
  property1 varchar(100);
  one_id long;
  </code></pre>
  
  <p>I want map two classes for it tables:</p>
  
  <pre><code>class One 
  {
  long id;
  String name;
  }
  
  Two
  {
    One parent;
    String property1;
  }
  </code></pre>
  
  <p>If I add <code>List&lt;Two&gt; properties</code> into One class, what annotations I must add to it? Class 'Two' marks as  Embeddable. Modification of tables is deprecated.</p>