You are using sequence. So better annotate with GenerationType.SEQUENCE
@GeneratedValue(strategy = GenerationType.SEQUENCE)