That took some time but I have now a JUnit test where I tried various ways to access an H2 database from multiple threads.
You can find the code here: https://gist.github.com/digulla/edb8095b7cfa63da3a1e What I find odd is that my application can do it ( think?), but the test case always locks up. But I can't find a difference between my application and the test. So my question is: How can I make the testNestedTransactions* tests pass? -- 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.
