I use Hibernate on my Java project, I have Oracle DB. An ID column, I identified a sequence with increment 1. But this is how JPA/Hibernate gets nextVal from the sequence:
1 1451
2 1450
3 1402
4 1401
5 1400
6 1352
7 1351
8 1350
9 426
You can see that nextVal sometimes get 1, but mostly 50 or more. I see even the start of a sequence 200 even though I put the start value 1. Why is this happening? Is this normal?
Can I reduce this "50" increment somehow?
Edit: Duplicate of hibernate oracle sequence produces large gap