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 straightforward, it has options for it's breakpoints, and it tells you what other thread is
holding a lock.
--
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 https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.