Sample Header Ad - 728x90

Is there a way to detect if there is an uncommitted transaction in H2?

2 votes
0 answers
1119 views
I am using an H2 database with JDBC to create a connection with setAutoCommit(false). I am currently programatically checking whether or not there is an uncommitted transaction, but I was wondering if there was a way to directly query H2 for information about this state. I have found some information for other databases on this topic, but nothing so far on H2.
Asked by Bri (195 rep)
Feb 27, 2014, 02:32 AM