I have legacy Oracle db with a sequence named PRODUCT_ID_SEQ.
PRODUCT_ID_SEQ
Here is the mapping of Product class for which I need generate correct ids:<
Product
The answer to the original question:
@SequenceGenerator(name="EL_SEQ", sequenceName="EL_SEQ",allocationSize=1)
It is allocationSize that sets the value to increment by.
allocationSize