We have an application where we use table sequencing.Everytime we bounce the server the sequence number( here SEQ_R) in the table acts weird.The sequence number gets incremented by 90000 and at times by 50.Where, the increment should be by 1.
I have to mention that we use MSSQl server.
In our sessions.xml
<sequencing>
<default-sequence xsi:type = "table-sequence">
<name> Custom </name>
<preallocation-size> 80000 </preallocation-size>
<table> SEQ </table>
<name-field> SEQ_N </name-field>
<counter-field> SEQ_R </counter-field>
</default-sequencing>
</sequencing>
In our mappings.xml
<toplink:sequencing>
<toplink:default-sequence xsi:type = "toplink:native">
<toplink:preallocation-size> 80000 </toplink:preallocation-size>
</toplink:default-sequence>
</toplink:sequencing>