title: Hibernate: Data Object with a dynamic table name by Annotations
body: <p>I have a Data Class for Hibernate associated to a table; imagine the Entity <em>Person</em> like this:</p>
  
  <pre><code> @Entity
   @org.hibernate.annotations.Proxy(lazy=false)
   @Table(name="Person", schema="MySchema")
   @Inheritance(strategy=InheritanceType.SINGLE_TABLE)
   public class ProfileData implements Serializable {
  
      private static final long serialVersionUID = -844564646821609090L;
  
      public PersonData() {
      }
  
      @Column(name="idPerson", nullable=false, unique=true)   
      @Id 
      ...
  </code></pre>
  
  <p><strong>I need to create historic tables by years of this table</strong>: Person2010, Person2011, Person2012... Is it possible without creating new Data Objects? Maybe by a parameter...? I don´t know.</p>
  
  <p>The Entity class is the same, changing the table name and the constructor.</p>