This content has been marked as final. Show 3 replies
Pass an additional parameter 'increment' to sequence generator.
The issue for me is session to session it is jumping by 50 (the increment during the session is 1.
I tied your suggested option but no change in the session to session behavior of sequence jumping by 50...
used sequence generator = "native" and let hibernate sequence take care of the generation to prevent it from jumping 50.
But still pondering if someone wants to use table's own primary key generation sequence (defined on it), how they can use it during reverse engineering..