Update: I've changed the test slightly.

- insertDemoRow() now creates two rows
- The two connections try to update different rows

Before the change, the outer transaction tried to update an existing row 
while the inner TX updated a non-existing row.

With the change, testNestedTransactionsMVCC() passes. The other nested 
transactions still fail.

So it seems that you need two connections, different threads, you need to 
update different objects, they have to exist and you must use "MVCC=TRUE" 
as connection option.

Does that sound right?

-- 
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