title: JPA Primary Key in separate sequence tables
body: <p>I have multiple entities annotated with the following:</p>
  
  <pre><code>@TableGenerator(name = "XXX_Gen", table = "XXX_GEN", pkColumnName = "GEN_NAME", valueColumnName = "GEN_VAL")
  @GeneratedValue(strategy = GenerationType.TABLE)
  @Id
  private String id;
  </code></pre>
  
  <p>I am using MySQL behind the scenes with eclipselink and the problem is that regardless of the values that I enter in the <code>name</code> and <code>table</code> MySQL always just uses a single table called 'SEQUENCE' to increment the PK's values.</p>
  
  <p>Normally this isn't an issue except I have a specific case where I need an entity to have its own incremental sequence. </p>