@SequenceGenerator generating wrong sequence numbers on an Oracle database
dark_light_555
Nov 15 2010 — edited Nov 19 2010
Hello,
I have a JPA entity with the following annotation:
@SequenceGenerator(name = "PERS_GEN", sequenceName = "PERS_SEQ", initialValue = 1, allocationSize = 1)
But the ids created by this sequence are not incrementing one by one;they increment 20 by 20. What is the cause of this?And how can it be sold?