This has been discussed in Stack Overflow
Here's the link: 
http://stackoverflow.com/questions/11653892/bug-in-h2-database-the-auto-increment-field-is-incremented-by-32
Hope this helps

On Sunday, 24 May 2015 17:46:17 UTC-5, Meni Hillel wrote:
>
> Hi,
>
> I am encountering an issue with auto increment identity field. It seems 
> that if multiple concurrent transaction happens all at once, the number 
> generate is not being incremented correctly (+1). Instead, it starts at 
> 1,then jumps to 349 if the transactions are committed 4 milliseconds apart. 
> It seems that if transaction are not concurrent, behavior is correct.
>
> This is my JDBC connection string 
> jdbc:h2:./myDB;MVCC=TRUE;LOCK_TIMEOUT=10000;
>
> Please let me know what additional information you need to diagnose.
>
>
> Thanks,
> Meni
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to