Anda harus mengatur allocationSize
ke 1
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "student_id_seq")
@SequenceGenerator(name = "student_id_seq",
sequenceName = "Student_seq",
allocationSize = 1)
Anda dapat membaca selengkapnya di dokumentasi dokumen SequenceGenerator