title: Change Table Name of an Entity on runtime?
body: <p>There is this table that is being generated on a monthly basis. Basically the table structure of all <em>monthly</em> tables is the same.</p>
  
  <p>Since it would be a lot of work to map the same entity just with a different table name,</p>
  
  <p>Is it possible to change the table name of an entity as follows on runtime since they have the same table structure after all?</p>
  
  <pre><code>   @Entity
     @Table(name="FOO_JAN2010") // any other ways to generate this dynamically?
     public class FooJan2010Table {  // if we can dynamically set the table name this can be simply named FooTable
         ...
     }
  </code></pre>
  
  <p>If not, what approach can you suggest?</p>