title: hibernate two tables per one entity
body: <p>I have one entity - <code>User</code>. It is described by <code>User.class</code>.</p>
  
  <p>Hibernate creates one table per entity, so when I call <code>session.save(user)</code>, my data is always saved to this table.</p>
  
  <p>Now I need another table for data of same <code>User</code> type, and I need to save my entity to that table only.</p>
  
  <p><strong>Data structure</strong> (something like this):</p>
  
  <pre><code>table users_1_table{
    string id;
    string username;
  }
  
  table users_2_table{
    string id;
    string username;
  }
  </code></pre>
  
  <p><strong>work with this</strong>:</p>
  
  <pre><code>session.save(user1,"users_1_table")
  session.save(user2,"users_2_table")
  </code></pre>
  
  <p>and in result I should have <code>user1</code> in <code>users_1_table</code> and <code>user2</code>  in <code>users_2_table</code>.</p>
  
  <p>Due to system limitation I can not put these two objects in one table. (Even creating extra field is bad idea).</p>
  
  <p>Can I do this without subclassing? Using programmaticaly hibernate configuration?</p>