hello!
I have setup the below code for an Oracle sequence, when I insert rows,
the unique id seems to be random 41, 63, 69 out of sequence though they have been inserted in a sequence on after the other, why is hibernae doing this? I am able to insert directly using JDBC inserts and the sequence of unique ids gnerated by oracle are maintained
any ideas?
Code:
<id name="id" type="long" column="id" unsaved-value="0">
<generator class="sequence">
<param name="sequence">order_seq</param>
</generator>
</id>