> H2 with default MVStore engine supports different isolation levels only 
since the version 1.4.200, it looks like you use some older version.
I was using 1.4.196, updating to 1.4.200 appears solved the problem. 

> You also shouldn't try to create Driver instances by yourself, it's a bad 
idea.
Good point.

Thanks!



onsdag 3. mars 2021 kl. 16:18:01 UTC+1 skrev Evgenij Ryazanov:

> Hello.
>
> H2 with default MVStore engine supports different isolation levels only 
> since the version 1.4.200, it looks like you use some older version.
>
> Note that SERIALIZABLE isolation level in H2 is only partially supported, 
> it prevents all three read phenomena, but doesn't ensure equivalence of 
> sequential and concurrent execution of transactions.
> https://h2database.com/html/advanced.html#transaction_isolation
>
> You also shouldn't try to create Driver instances by yourself, it's a bad 
> idea. If you need it due to some problem with DriverManager, use the 
> instance returned by org.h2.Driver.load(). In normal cases you should use 
> DriverManager.getConnection(), JdbcDataSource, or JdbcConnectionPool.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/99c3f2e2-8120-40fe-8e1e-496fe95172dfn%40googlegroups.com.

Reply via email to