title: Multiple SequenceGenerator in Hibernate Entity
body: <p>Is it possible to use 2 sequence generators in Hibernate  Entity Class. I  want to use two sequence generator for my case one for the primary key and other for a simple field. How can i achieve the same?</p>
  
  <pre><code>@Data
  @Table(name="a_b")
  @SequenceGenerator(name = "a1_seq", sequenceName = "a1_seq", allocationSize    = 1)
  @SequenceGenerator(name = "b1_seq", sequenceName = "b1_seq", allocationSize = 1)
  public class ABC {
  
      @Id
      @Column(name = "id")
      @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "a1_seq")
      private Integer id;
  
      @Column(name = "c")
      private String c;
  
      @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "b1")
      @Column(name = "b)
      private Integer b;
  
  }
  </code></pre>