Hi, Could you provide a simple, small, reproducible test case please?
Regards, Thomas On Monday, May 25, 2015, Meni Hillel <[email protected]> wrote: > Thanks Jose. > > I saw this issue and I did not think it applied to me. In my case, it does > not skip in 32, there was no crash. I think the cause in my case is related > to concurrency. > > Meni > > On Mon, May 25, 2015 at 7:16 AM, Jose Schiavon <[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: > >> 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 a topic in the >> Google Groups "H2 Database" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/h2-database/hlOv0vqqdt8/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] >> <javascript:_e(%7B%7D,'cvml','h2-database%[email protected]');> >> . >> To post to this group, send email to [email protected] >> <javascript:_e(%7B%7D,'cvml','[email protected]');>. >> Visit this group at http://groups.google.com/group/h2-database. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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.
