0
votes

to create a sequence on JPA I normaly use this @GeneratedValue(strategy=GenerationType.AUTO) @SequenceGenerator(name="example_sequence", sequenceName="example_sequence")

But I want to create a sequence that is also generated automatically but it increments from 0 to 255 and when this value is acheived it restarts from zero

1

1 Answers