package me.chriskramp.library;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
public class Member {
  private String name;
  private Long id;

  public void setName(String name) {
    this.name = name;
  }

  public String getName() {
    return name;
  }

  @Id
  @GeneratedValue
  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    Member member = (Member) o;

    if (id != null ? !id.equals(member.id) : member.id != null) return false;
    //noinspection RedundantIfStatement
    if (name != null ? !name.equals(member.name) : member.name != null) return false;

    return true;
  }

  @Override
  public int hashCode() {
    int result = name != null ? name.hashCode() : 0;
    result = 31 * result + (id != null ? id.hashCode() : 0);
    return result;
  }
}

@@ -128,65 +128,345 @@
 nce.
-Id;%0A%0A@Entity%0Apublic class Member %7B%0A  private String name;
+GenerationType;%0Aimport javax.persistence.Id;%0Aimport javax.persistence.SequenceGenerator;%0A%0A@Entity%0Apublic class Member %7B%0A  private String name;%0A%0A  @Id%0A  @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = %22seq-gen%22)%0A  @SequenceGenerator(name = %22seq-gen%22, sequenceName = %22member_id_seq%22, initialValue = 25, allocationSize = 12)
 %0A  p
@@ -600,32 +600,8 @@
  %7D%0A%0A
-  @Id%0A  @GeneratedValue%0A
   pu

Configure the sequence generator used for the Member id column