Re: [h2] Usage of System.currentTimeMillis() is risky for timeout checks

2017-01-26 Thread Uli
> > patches are welcome :-) > I created a pull request :-) -- 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 h2-database+unsubscr...@googlegroups.com. To post

Re: [h2] Re: Strange long INSER : One INSERT out of 18889 is very long

2017-01-26 Thread Noel Grandin
What I would do is set the breakpoint to stop all threads in the VM. Then I would see what my thread is blocked on - probably the main database lock object. Then I would see what thread is holding that lock, and print out that stack trace (or take a screenshot). In Eclipse this is fairly stra

[h2] Re: Strange long INSER : One INSERT out of 18889 is very long

2017-01-26 Thread Nicolas Humeau
First thank you for the help. I couldn't print stack trace of what's happening in H2. When I stop at the right point with a debugger and try to print the stack trace it only show me what's happening in my thread not in H2. Could you tell me more precisely what I can do to in order to see where