title: Changing Table name dynamiclly in JPA/Hibernate
body: <p>I have seen some posts talking about <strong>NamingStrategy</strong> but it is not exacting what I am looking for (or I don't know to to approach it).</p>
  
  <p>I need, depending on some conditions, to change the name of the @Table in the @Entity class passing an ID, something like this:</p>
  
  <pre><code>@Entity
  @Table(name = "SA1{companyID}")
  public class Cliente implements Serializable, Cloneable {
  </code></pre>
  
  <p>That "companyID" will something like: 010, 020, 030</p>
  
  <p>Is there any whay to achieve that?</p>